OrientationChanged

data class OrientationChanged(val orientation: DeviceOrientation) : AnalyticsEvent

The device rotated (reported by the view layer once on attach with the initial value, then on change). The vertical feed does not emit it — the feed is portrait by design. Distinct from FullscreenChanged: the two diverge on button-driven fullscreen and on tablets.

Constructors

Link copied to clipboard
constructor(orientation: DeviceOrientation)

Properties

Link copied to clipboard

URL of the media item this event belongs to (null before a load).

Link copied to clipboard
Link copied to clipboard

Playback-session id: a fresh UUID minted by every OGPlayer.load, stamped on each event of that session so consumers can key their pipelines without inventing their own ids. Null only for events emitted before the first load.