MediaPlayback.StateChangedEvent

class MediaPlayback.StateChangedEvent : Event, MediaPlaybackTrait.StateChanged


Summary

Nested types

Descriptor enum for this event's fields.

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

open Id

ID of the Event.

open EventImportance

Importance of the event.

open String

Event name.

open ULong

Event number.

open ClusterStruct

The ClusterStruct payload of this event, if applicable.

open Instant

Time of the event.

Inherited functions

From com.google.home.matter.standard.MediaPlaybackTrait.StateChanged
open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

Inherited properties

From com.google.home.Event
open String?

The PartId of the part that emitted this event, if applicable.

From com.google.home.matter.standard.MediaPlaybackTrait.StateChanged
open Boolean?

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

open MediaPlaybackTrait.PlaybackStateEnum?

Indicates the updated playback state.

open ByteArray?

Contains optional app-specific data.

open ULong?

Indicates the updated duration.

open Float?

Indicates the updated playback speed.

open MediaPlaybackTrait.PlaybackPositionStruct?

Indicates updated position of playback.

open ULong?

Indicates the updated seek range end.

open ULong?

Indicates the updated seek range start.

open ULong?

Indicates the updated tart time.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

eventId

open val eventIdId

ID of the Event.

eventImportance

open val eventImportanceEventImportance

Importance of the event.

eventName

open val eventNameString

Event name.

eventNumber

open val eventNumberULong

Event number.

payload

open val payloadClusterStruct

The ClusterStruct payload of this event, if applicable.

timestamp

open val timestampInstant

Time of the event.