ChannelTrait.ChangeChannelCommand.Request

class ChannelTrait.ChangeChannelCommand.Request : ClusterStruct


The request payload for the ChangeChannel command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(match: String)

Creates a request payload for the ChangeChannel 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

String

A string used to identify the intended channel, which may be a call sign, a name, or a number.

Public constructors

Request

Request(match: String = "")

Creates a request payload for the ChangeChannel 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

match

val matchString

A string used to identify the intended channel, which may be a call sign, a name, or a number.