ChannelTrait.ProgramCategoryStruct

class ChannelTrait.ProgramCategoryStruct : ClusterStruct


Summary

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

open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

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>