Added in API level 29

WindowInspector

class WindowInspector
kotlin.Any
   ↳ android.view.inspector.WindowInspector

Provides access to window inspection information.

Summary

Public methods
static MutableList<View!>

Public methods

getGlobalWindowViews

Added in API level 29
static fun getGlobalWindowViews(): MutableList<View!>
Return
MutableList<View!> the list of all window views attached to the current process This value cannot be null.