OperationalStateTrait.StartCommand.Response

class OperationalStateTrait.StartCommand.Response : ClusterStruct


The result of the completed Start command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

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

OperationalStateTrait.ErrorStateStruct

The return status of the Start command.

Public constructors

Response

Response(
    commandResponseState: OperationalStateTrait.ErrorStateStruct = ErrorStateStruct()
)

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

commandResponseState

val commandResponseStateOperationalStateTrait.ErrorStateStruct

The return status of the Start command.