struct
Matter::Cluster::Definitions::AudioOutput::OutputInformation
- Matter::Cluster::Definitions::AudioOutput::OutputInformation
- Struct
- Value
- Object
Overview
This contains information about an output.
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/definitions/audio_output.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
-
#index : UInt8
This shall indicate the unique index into the list of outputs.
-
#index=(index : UInt8)
This shall indicate the unique index into the list of outputs.
-
#name : String
The device defined and user editable output name, such as “Soundbar”, “Speakers”.
-
#name=(name : String)
The device defined and user editable output name, such as “Soundbar”, “Speakers”.
-
#output_type : OutputType
This shall indicate the type of output
-
#output_type=(output_type : OutputType)
This shall indicate the type of output
- #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 name : String
#
The device defined and user editable output name, such as “Soundbar”, “Speakers”. This field may be blank, but SHOULD be provided when known.
def name=(name : String)
#
The device defined and user editable output name, such as “Soundbar”, “Speakers”. This field may be blank, but SHOULD be provided when known.
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#