struct

Matter::Cluster::BasicInformationCluster::ProductAppearanceStruct

Inherits TLV::Serializable < Struct < Value < Object

Product Appearance Structure

Constructors

new(any : TLV::Any)
Source
new(finish : ProductFinish, primary_color : Color | Nil = nil)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

finish
Source
finish=(finish : ProductFinish)
Source
primary_color
Source
primary_color=(primary_color : Color | Nil)
Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source