Class

AndroidExternalSurfaceZOrder

Defines the z-order of an AndroidExternalSurface.

Source set: Android
public class AndroidExternalSurfaceZOrder private constructor(public val zOrder: Int)

Defines the z-order of an AndroidExternalSurface. When using an AndroidExternalSurface, a new Surface is created and displayed as a separate window layer whose position in the windows layer stack relative to the parent window is decided by its z-order. This class provides constants to set that z-order.

Members

Companion

Source set: Android
public companion object

Properties

Behind

Source set: Android
public val Behind: AndroidExternalSurfaceZOrder

The Surface's window layer is positioned behind the parent window.

MediaOverlay

Source set: Android
public val MediaOverlay: AndroidExternalSurfaceZOrder

The Surface's window layer is positioned behind the parent window but above other Surface window layers marked Behind.

OnTop

Source set: Android
public val OnTop: AndroidExternalSurfaceZOrder

The Surface's window layer is positioned above the parent window.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: