ChannelTrait.ProgramCastStruct

class ChannelTrait.ProgramCastStruct : ClusterStruct


The cast information related to a program.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

Creates the ProgramCastStruct 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

The name of the cast member.

String

The role of the cast member.

Public constructors

ProgramCastStruct

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

Creates the ProgramCastStruct class.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

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

Public properties

name

val nameString

The name of the cast member.

role

val roleString

The role of the cast member.