Query

interface Query

This is the Query api where we can query various information related to the playback engine.

Inheritors

Properties

Link copied to clipboard
abstract val assetPosition: Float

Gets the current asset position, in seconds, from the active MediaProduct, as Float.

Link copied to clipboard
abstract val events: Flow<Event>

Gets the stream of events describing happenings that consumers may want to react to. Backpressure not handled.

Link copied to clipboard
abstract val mediaProduct: MediaProduct?

Gets the currently active MediaProduct. May be null, most likely if current state is PlaybackState.IDLE.

Link copied to clipboard

Gets the current output device, as OutputDevice.

Link copied to clipboard

Gets the currently active PlaybackContext. May be null, most likely if current state is PlaybackState.IDLE.

Link copied to clipboard

Gets the currently active PlaybackState.