struct

Matter::Cluster::Definitions::ContentLauncher::StyleInformation

Inherits TLV::Serializable < Struct < Value < Object

This object defines style information which can be used by content providers to change the Media Player’s style related properties.

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

color

This shall indicate the color, in RGB or RGBA, used for styling different Video Player sections like Logo, Watermark, etc. The value shall conform to the 6-digit or 8-digit format defined for CSS sRGB hexadecimal color notation [https://www.w3.org/TR/css-color-4/#hex-notation]. Examples:

• #76DE19 for R=0x76, G=0xDE, B=0x19, A absent

• #76DE1980 for R=0x76, G=0xDE, B=0x19, A=0x80

Source
color=(color : String | Nil)

This shall indicate the color, in RGB or RGBA, used for styling different Video Player sections like Logo, Watermark, etc. The value shall conform to the 6-digit or 8-digit format defined for CSS sRGB hexadecimal color notation [https://www.w3.org/TR/css-color-4/#hex-notation]. Examples:

• #76DE19 for R=0x76, G=0xDE, B=0x19, A absent

• #76DE1980 for R=0x76, G=0xDE, B=0x19, A=0x80

Source
image_url

This shall indicate the URL of image used for Styling different Video Player sections like Logo, Watermark etc.

Source
image_url=(image_url : String | Nil)

This shall indicate the URL of image used for Styling different Video Player sections like Logo, Watermark etc.

Source
size

This shall indicate the size of the image used for Styling different Video Player sections like Logo, Watermark etc.

Source
size=(size : Dimension | Nil)

This shall indicate the size of the image used for Styling different Video Player sections like Logo, Watermark etc.

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