ChannelTrait.ChangeChannelByNumberCommand.Request

class ChannelTrait.ChangeChannelByNumberCommand.Request : ClusterStruct


The request payload for the ChangeChannelByNumber command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(majorNumber: UShort, minorNumber: UShort)

Creates a request payload for the ChangeChannelByNumber command.

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

UShort

The channel major number value to which the channel should change, in ATSC format.

UShort

The channel minor number value to which the channel should change, in ATSC format.

Public constructors

Request

Request(majorNumber: UShort, minorNumber: UShort)

Creates a request payload for the ChangeChannelByNumber command.

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

majorNumber

val majorNumberUShort

The channel major number value to which the channel should change, in ATSC format.

minorNumber

val minorNumberUShort

The channel minor number value to which the channel should change, in ATSC format.