ChannelTrait.RecordProgramCommand.Request

class ChannelTrait.RecordProgramCommand.Request : ClusterStruct


Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(
    programIdentifier: String,
    shouldRecordSeries: Boolean,
    externalIdList: List<ChannelTrait.AdditionalInfoStruct>,
    data: ByteArray
)

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

Request

Request(
    programIdentifier: String = "",
    shouldRecordSeries: Boolean = false,
    externalIdList: List<ChannelTrait.AdditionalInfoStruct> = emptyList(),
    data: ByteArray = ByteArray(0)
)

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

data

val dataByteArray

programIdentifier

val programIdentifierString

shouldRecordSeries

val shouldRecordSeriesBoolean