struct Matter::Cluster::Definitions::Switch::Events::MultiPressCompleteEvent

Overview

Body of the Switch multiPressComplete event

Included Modules

Defined in:

matter/cluster/definitions/switch.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(any : TLV::Any) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) #

[View source]
def self.from_slice(bytes : Bytes) #

[View source]
def self.from_tlv(any : TLV::Any) #

[View source]
def self.from_tlv(data : Bytes) #

[View source]

Instance Method Detail

def current_number_of_presses_counted : UInt8 #

[View source]
def current_number_of_presses_counted=(current_number_of_presses_counted : UInt8) #

[View source]
def previous_position : UInt8 #

[View source]
def previous_position=(previous_position : UInt8) #

[View source]
def to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil #

[View source]
def to_slice : Bytes #

[View source]
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any #

[View source]