enum Matter::Cluster::Definitions::KeypadInput::StatusCode

Defined in:

matter/cluster/definitions/keypad_input.cr

Enum Members

Success = 0_u8

Command succeeded

UnsupportedKey = 1_u8

Command failed: Key code is not supported.

InvalidKeyInCurrentState = 2_u8

Command failed: Requested key code is invalid in the context of the responder’s current state.

Instance Method Summary

Instance Method Detail

def invalid_key_in_current_state? #

Returns true if this enum value equals InvalidKeyInCurrentState


[View source]
def success? #

Returns true if this enum value equals Success


[View source]
def unsupported_key? #

Returns true if this enum value equals UnsupportedKey


[View source]