Added in API level 29

WindowInspector

public final class WindowInspector
extends Object

java.lang.Object
   ↳ android.view.inspector.WindowInspector


Provides access to window inspection information.

Summary

Public methods

static List<View> getGlobalWindowViews()

Inherited methods

Public methods

getGlobalWindowViews

Added in API level 29
public static List<View> getGlobalWindowViews ()

Returns
List<View> the list of all window views attached to the current process This value cannot be null.