struct Matter::Cluster::Definitions::ColorControl::MoveToHueRequest

Overview

Input to the ColorControl moveToHue command

Included Modules

Defined in:

matter/cluster/definitions/color_control.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 direction : Direction #

The Direction field shall be one of the non-reserved values in Values of the Direction Field.


[View source]
def direction=(direction : Direction) #

The Direction field shall be one of the non-reserved values in Values of the Direction Field.


[View source]
def hue : UInt8 #

The Hue field specifies the hue to be moved to.


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

The Hue field specifies the hue to be moved to.


[View source]
def mask : UInt8 #

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

[View source]
def override : UInt8 #

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

[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]
def transition_time : UInt16 #

The TransitionTime field specifies, in 1/10ths of a second, the time that shall be taken to move to the new hue.


[View source]
def transition_time=(transition_time : UInt16) #

The TransitionTime field specifies, in 1/10ths of a second, the time that shall be taken to move to the new hue.


[View source]