MediaPlaybackTrait.TrackAttributesStruct

class MediaPlaybackTrait.TrackAttributesStruct : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

TrackAttributesStruct(
    languageCode: String,
    displayName: OptionalValue<String?>
)

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

TrackAttributesStruct

TrackAttributesStruct(
    languageCode: String = "",
    displayName: OptionalValue<String?> = OptionalValue.absent()
)

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalApi
open fun getFieldValueById(tagId: UInt): Any?

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

Public properties

displayName

val displayNameOptionalValue<String?>

languageCode

val languageCodeString