struct
Matter::Cluster::Definitions::Switch::Events::InitialPressEvent
- Matter::Cluster::Definitions::Switch::Events::InitialPressEvent
- Struct
- Value
- Object
Overview
Body of the Switch initialPress event
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/definitions/switch.crConstructors
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
- .from_tlv(data : Bytes)
Instance Method Summary
- #new_position : UInt8
- #new_position=(new_position : UInt8)
- #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Constructor Detail
Class Method Detail
Instance Method Detail
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#