Event

sealed interface Event

Events that can be used to track happenings related to Player's functionality.

See also

Inheritors

Types

Link copied to clipboard
data class DjSessionUpdate : Event

A DJ session product has been updated.

Link copied to clipboard
sealed class Error : Throwable, Event
Link copied to clipboard

A playing mediaProduct has ended.

Link copied to clipboard

A transition to playing a new mediaProduct. This may or may not be the same one as reflected by the previously reported MediaProductTransition event (or previous ones) and will be reported as a cause of both implicit and explicit transitions.

Link copied to clipboard

The output device has been updated.

Link copied to clipboard

A change in PlaybackEngine.playbackState. Updates to state using the same value are not considered changes and will therefore not trigger PlaybackStateChange events.

Link copied to clipboard
object Release : Event

Indicates that the PlaybackEngine has been released.

Link copied to clipboard

A loss of streaming permission. This event will cause playback to pause if possible, and resuming/starting it may cause the equivalent loss for other instances instead.