MediaPlaybackTrait.Feature

data class MediaPlaybackTrait.Feature


The MediaPlayback cluster FeatureMap.

Summary

Public constructors

Feature(
    advancedSeek: Boolean,
    variableSpeed: Boolean,
    textTracks: Boolean,
    audioTracks: Boolean,
    audioAdvance: Boolean
)

Creates the Feature data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

Boolean

Supports advanced media-seeking behavior in the user interface, for example, a seek bar.

Boolean
Boolean
String

Name of the Matter bitmap, in UpperCamelCase, e.g. "OnOffControlBitmap" from OnOff Cluster.

Boolean
String

Trait identifier of the Matter Cluster that defines the bitmap Data Type.

Boolean

Supports variable speed playback on media that can play at different speeds.

Public constructors

Feature

Feature(
    advancedSeek: Boolean = false,
    variableSpeed: Boolean = false,
    textTracks: Boolean = false,
    audioTracks: Boolean = false,
    audioAdvance: Boolean = false
)

Creates the Feature data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

advancedSeek

val advancedSeekBoolean

Supports advanced media-seeking behavior in the user interface, for example, a seek bar.

audioAdvance

val audioAdvanceBoolean

audioTracks

val audioTracksBoolean

bitmapName

val bitmapNameString

Name of the Matter bitmap, in UpperCamelCase, e.g. "OnOffControlBitmap" from OnOff Cluster.

textTracks

val textTracksBoolean

traitId

val traitIdString

Trait identifier of the Matter Cluster that defines the bitmap Data Type. Refer to ClusterId.traitId for the format.

variableSpeed

val variableSpeedBoolean

Supports variable speed playback on media that can play at different speeds.