ContentLauncherTrait.TrackPreferenceStruct

class ContentLauncherTrait.TrackPreferenceStruct : ClusterStruct


Summary

Public constructors

TrackPreferenceStruct(
    languageCode: String,
    characteristics: OptionalValue<List<ContentLauncherTrait.CharacteristicEnum>>,
    audioOutputIndex: UByte
)

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

Public constructors

TrackPreferenceStruct

TrackPreferenceStruct(
    languageCode: String = "",
    characteristics: OptionalValue<List<ContentLauncherTrait.CharacteristicEnum>> = OptionalValue.absent(),
    audioOutputIndex: UByte
)

Public functions

getDescriptor

open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

open fun getFieldValueById(tagId: UInt): Any?

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

Public properties

audioOutputIndex

val audioOutputIndexUByte

languageCode

val languageCodeString