InterLayerDisplayPolicyManager

interface InterLayerDisplayPolicyManager

Manage a display's lifecycle between layers.

Types

Link copied to clipboard
interface DisplayLayer : InterLayerDisplayPolicyManager.Layer

The layer for display

Link copied to clipboard
interface Layer

Base interface for Layer

Link copied to clipboard
interface Listener

The listener

Link copied to clipboard
interface PlayLayer : InterLayerDisplayPolicyManager.Layer

The layer for play

Functions

Link copied to clipboard
abstract fun addListener(listener: InterLayerDisplayPolicyManager.Listener)

Add listener

Link copied to clipboard
abstract fun onDisplayLayerCleared(layer: InterLayerDisplayPolicyManager.DisplayLayer)

Should be called when the display cleared

Link copied to clipboard
abstract fun onDisplayLayerRendered(layer: InterLayerDisplayPolicyManager.DisplayLayer)

Should be called when the display rendered

Link copied to clipboard
abstract fun onPlayFinished(layer: InterLayerDisplayPolicyManager.PlayLayer)

Should be called when the play finished

Link copied to clipboard
abstract fun onPlayStarted(layer: InterLayerDisplayPolicyManager.PlayLayer)

Should be called when the play started

Link copied to clipboard
abstract fun removeListener(listener: InterLayerDisplayPolicyManager.Listener)

Remove listener