primary_color
SourceMatter::Cluster::BasicInformationCluster::ProductAppearanceStruct
Inherits TLV::Serializable < Struct < Value < Object
Product Appearance Structure
Constructors
new(any : TLV::Any)
Sourcenew(finish : ProductFinish, primary_color : Color | Nil = nil)
SourceClass methods
from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Sourcefrom_slice(bytes : Bytes)
Sourcefrom_tlv(any : TLV::Any)
Sourcefrom_tlv(data : Bytes)
SourceInstance methods
finish
Sourcefinish=(finish : ProductFinish)
Sourceprimary_color=(primary_color : Color | Nil)
Sourceto_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Sourceto_slice
Sourceto_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source