isDesktopWindowing

open fun isDesktopWindowing(@NonNull context: @NonNull Context): Boolean

Checks whether desktop windowing is active on any connected display.

Return

true if desktop windowing is active on an external display, false otherwise

Parameters

context

the Context to access DisplayManager