ChannelTrait.ProgramCategoryStruct

class ChannelTrait.ProgramCategoryStruct : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

ProgramCategoryStruct(
    category: String,
    subCategory: 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

ProgramCategoryStruct

ProgramCategoryStruct(
    category: String = "",
    subCategory: 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

category

val categoryString

subCategory

val subCategoryOptionalValue<String>