KeypadInputTrait.SendKeyCommand.Response

class KeypadInputTrait.SendKeyCommand.Response : ClusterStruct


The result of the SendKey command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

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

KeypadInputTrait.StatusEnum

The status of the SendKey command.

Public constructors

Response

Response(status: KeypadInputTrait.StatusEnum = StatusEnum.Success)

Creates a response payload from the SendKey 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 statusKeypadInputTrait.StatusEnum

The status of the SendKey command. Valid values are defined in StatusEnum.