MediaPlaybackTrait.TrackStruct

class MediaPlaybackTrait.TrackStruct : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

TrackStruct(
    id: String,
    trackAttributes: MediaPlaybackTrait.TrackAttributesStruct?
)

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

TrackStruct

TrackStruct(
    id: String = "",
    trackAttributes: MediaPlaybackTrait.TrackAttributesStruct? = null
)

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

id

val idString