PlayerAdapterEvent

Event types a PlayerAdapter must forward (mirrors the TS PlayerAdapterEvent).

TIMEDMETADATA is optional/capability-style: content adapters used for SSAI playback emit it for each in-stream timed-metadata marker (HLS ID3 / EXT-X-DATERANGE) with a TimedMetadataCue payload, so the SDK can forward markers to IMA for ad tracking. Adapters that cannot surface metadata never emit it.

Entries

Link copied to clipboard

The playback position advanced; the SDK schedules breaks on it.

Link copied to clipboard

Playback reached the end of the content.

Link copied to clipboard

The player failed; the payload is the player's error.

Link copied to clipboard

A seek completed; the SDK enforces snapback on it.

Link copied to clipboard

Volume or mute state changed.

Link copied to clipboard

Playback stalled waiting for data.

Link copied to clipboard

Playback started or resumed.

Link copied to clipboard

Playback paused (drives pause ads).

Link copied to clipboard

An in-stream timed-metadata marker; the payload is a TimedMetadataCue.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

The event name, as used by the web PlayerAdapter.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.