rootInstanceToString

fun rootInstanceToString(root: DebugComponent?, embedded: Boolean, startingDepth: Int): String

Provides a nested string representation of a DebugComponent and its nested components for debugging.

Parameters

root

A root DebugComponent

embedded

if the call is embedded in "adb dumpsys activity"

startingDepth

the starting depth of the true for printing components (normally defaults to 0)