struct

Matter::Cluster::Definitions::MediaInput::InputInformation

Inherits TLV::Serializable < Struct < Value < Object

This contains information about an input.

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

description

This shall indicate the user editable input description, such as “Living room Playstation”. This field may be blank, but SHOULD be provided when known.

Source
description=(description : String)

This shall indicate the user editable input description, such as “Living room Playstation”. This field may be blank, but SHOULD be provided when known.

Source
index

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

Source
index=(index : UInt8)

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

Source
input_type

This shall indicate the type of input

Source
input_type=(input_type : InputType)

This shall indicate the type of input

Source
name

This shall indicate the input name, such as “HDMI 1”. This field may be blank, but SHOULD be provided when known.

Source
name=(name : String)

This shall indicate the input name, such as “HDMI 1”. This field may be blank, but SHOULD be provided when known.

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