ChannelTrait.ProgramCastStruct

class ChannelTrait.ProgramCastStruct : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

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
String

Public constructors

ProgramCastStruct

ProgramCastStruct(name: String = "", role: String = "")

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

name

val nameString

role

val roleString