This structure defines a uniquely identifiable Text Track or Audio Track.

MatterSpecification.v13.Cluster § 6.10.5.5

interface Track {
    id: string;
    trackAttributes: TypeFromFields<{
        characteristics: OptionalFieldType<null | MediaPlayback.Characteristic[]>;
        displayName: OptionalFieldType<null | string>;
        languageCode: FieldType<string>;
    }>;
}

Hierarchy (view full)

Properties

Properties

id: string = ...

This field shall indicate the Identifier for the Track which is unique within the Track catalog. The Track catalog contains all the Text/Audio tracks corresponding to the main media content.

MatterSpecification.v13.Cluster § 6.10.5.5.1

trackAttributes: TypeFromFields<{
    characteristics: OptionalFieldType<null | MediaPlayback.Characteristic[]>;
    displayName: OptionalFieldType<null | string>;
    languageCode: FieldType<string>;
}> = ...

This field shall indicate the Attributes associated to the Track, like languageCode.

Type declaration

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

    This is 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.10.5.6.2

  • displayName: OptionalFieldType<null | string>

    The value is a String containing a user displayable name for the Track. A value of null shall indicate that there is no DisplayName corresponding to the Track.

    MatterSpecification.v13.Cluster § 6.10.5.6.3

  • languageCode: FieldType<string>

    The value is a String containing one of the standard Tags for Identifying Languages RFC 5646, which identifies the primary language used in the Track.

    MatterSpecification.v13.Cluster § 6.10.5.6.1

MatterSpecification.v13.Cluster § 6.10.5.5.2