Skip to main content

CoreOverlay

Describes the overlay the session is currently showing.

Overview​

CoreOverlay is emitted by overlays. It carries the overlay's display text and screen position, so your app can place it or adapt your player UI around it.

Syntax​

data class CoreOverlay(
val id: String,
val text: String?,
val position: OverlayPosition?,
)

Properties​

PropertyTypeDescription
idStringThe unique identifier of the overlay
textString?The display text of the overlay, or null if none
positionOverlayPosition?Where the overlay sits on screen, or null if unspecified

Notes​