MediaPlaybackTrait.StateChanged

interface MediaPlaybackTrait.StateChanged : ClusterStruct


State changed event.

Summary

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

Boolean?

Indicates whether audio is unmuted by the player due to a FF or REW command.

MediaPlaybackTrait.PlaybackStateEnum?

Indicates the updated playback state.

ByteArray?

Contains optional app-specific data.

ULong?

Indicates the updated duration.

Float?

Indicates the updated playback speed.

MediaPlaybackTrait.PlaybackPositionStruct?

Indicates updated position of playback.

ULong?

Indicates the updated seek range end.

ULong?

Indicates the updated seek range start.

ULong?

Indicates the updated tart time.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

audioAdvanceUnmuted

val audioAdvanceUnmutedBoolean?

Indicates whether audio is unmuted by the player due to a FF or REW command.

currentState

val currentStateMediaPlaybackTrait.PlaybackStateEnum?

Indicates the updated playback state.

data

val dataByteArray?

Contains optional app-specific data.

duration

val durationULong?

Indicates the updated duration.

playbackSpeed

val playbackSpeedFloat?

Indicates the updated playback speed.

sampledPosition

val sampledPositionMediaPlaybackTrait.PlaybackPositionStruct?

Indicates updated position of playback.

seekRangeEnd

val seekRangeEndULong?

Indicates the updated seek range end.

seekRangeStart

val seekRangeStartULong?

Indicates the updated seek range start.

startTime

val startTimeULong?

Indicates the updated tart time.