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

Overview

This contains information about an input.

Included Modules

Defined in:

matter/cluster/definitions/media_input.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(any : TLV::Any) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) #

[View source]
def self.from_slice(bytes : Bytes) #

[View source]
def self.from_tlv(any : TLV::Any) #

[View source]
def self.from_tlv(data : Bytes) #

[View source]

Instance Method Detail

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


[View source]
def 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.


[View source]
def index : UInt8 #

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


[View source]
def index=(index : UInt8) #

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


[View source]
def inputType : InputType #

This shall indicate the type of input


[View source]
def inputType=(inputType : InputType) #

This shall indicate the type of input


[View source]
def name : String #

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


[View source]
def name=(name : String) #

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


[View source]
def to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil #

[View source]
def to_slice : Bytes #

[View source]
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any #

[View source]