RvcRunModeTrait.ChangeToModeCommand.Response

class RvcRunModeTrait.ChangeToModeCommand.Response : ClusterStruct


The result of the completed ChangeToMode command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Response(status: UByte, statusText: String?)

Creates a response payload from the ChangeToMode 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

UByte

The status of the ChangeToMode command.

String?

Text describing the status of the ChangeToMode command.

Public constructors

Response

Response(status: UByte, statusText: String? = null)

Creates a response payload from the ChangeToMode 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

status

val statusUByte

The status of the ChangeToMode command. Valid values are defined by the device manufacturer.

statusText

val statusTextString?

Text describing the status of the ChangeToMode command.