struct

Matter::Cluster::Definitions::AudioOutput::OutputInformation

Inherits TLV::Serializable < Struct < Value < Object

This contains information about an output.

Constructors

new(any : TLV::Any)
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

index

This shall indicate the unique index into the list of outputs.

Source
index=(index : UInt8)

This shall indicate the unique index into the list of outputs.

Source
name

The device defined and user editable output name, such as “Soundbar”, “Speakers”. This field may be blank, but SHOULD be provided when known.

Source
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.

Source
output_type

This shall indicate the type of output

Source
output_type=(output_type : OutputType)

This shall indicate the type of output

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