TlvTrackPreference: ObjectSchema<{
    audioOutputIndex: OptionalFieldType<null | number>;
    characteristics: OptionalFieldType<null | MediaPlayback.Characteristic[]>;
    languageCode: FieldType<string>;
}> = ...

This structure defines Text/Audio Track preferences.

Type declaration

  • audioOutputIndex: OptionalFieldType<null | number>

    This field if present shall indicate the index of the OutputInfoStruct from the OutputList attribute (from the AudioOutput cluster) and indicates which audio output the Audio Track should be played on.

    This field shall NOT be present if the track is not an audio track.

    If the track is an audio track, this field MUST be present. A value of null shall indicate that the

    server can choose the audio output(s) to play the Audio Track on.

    MatterSpecification.v13.Cluster § 6.7.5.12.3

  • characteristics: OptionalFieldType<null | MediaPlayback.Characteristic[]>

    This field shall contain a list of enumerated CharacteristicEnum values that indicate a purpose, trait or feature associated with the Track. A value of null shall indicate that there are no Characteristics corresponding to the Track.

    MatterSpecification.v13.Cluster § 6.7.5.12.2

  • languageCode: FieldType<string>

    This field shall contain one of the standard Tags for Identifying Languages RFC 5646, which identifies the primary language used in the Track.

    MatterSpecification.v13.Cluster § 6.7.5.12.1

MatterSpecification.v13.Cluster § 6.7.5.12