ExtendedChannelTrait.ExtendedMediaChannel

class ExtendedChannelTrait.ExtendedMediaChannel : ClusterStruct


Media channel description.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

ExtendedMediaChannel(number: String, key: String, names: List<String>)

Creates the ExtendedMediaChannel class.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

Public properties

String

Unique identifier for this channel.

List<String>

List of user-visible names for this channel.

String

Optional numeric identifier for this channel, for example 256 or 13.1.

Public constructors

ExtendedMediaChannel

ExtendedMediaChannel(
    number: String = "",
    key: String = "",
    names: List<String> = emptyList()
)

Creates the ExtendedMediaChannel class.

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

key

val keyString

Unique identifier for this channel. Not exposed to users.

names

val namesList<String>

List of user-visible names for this channel.

number

val numberString

Optional numeric identifier for this channel, for example 256 or 13.1.