struct Matter::Cluster::Definitions::Channel::Information

Overview

This indicates a channel in a channel lineup.

While the major and minor numbers in the ChannelInfoStruct support use of ATSC channel format, a lineup may use other formats which can map into these numeric values.

Included Modules

Defined in:

matter/cluster/definitions/channel.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Slice(UInt8)) #

[View source]

Instance Method Detail

def affiliate_call_sign : String | Nil #

This shall indicate the local affiliate call sign, such as "KCTS". This field is optional, but SHOULD be provided when known.


[View source]
def affiliate_call_sign=(affiliate_call_sign : String | Nil) #

This shall indicate the local affiliate call sign, such as "KCTS". This field is optional, but SHOULD be provided when known.


[View source]
def call_sign : String | Nil #

This shall indicate the call sign of the channel, such as "PBS". This field is optional, but SHOULD be provided when known.


[View source]
def call_sign=(call_sign : String | Nil) #

This shall indicate the call sign of the channel, such as "PBS". This field is optional, but SHOULD be provided when known.


[View source]
def major_number : UInt16 #

This shall indicate the channel major number value (for example, using ATSC format). When the channel number is expressed as a string, such as "13.1" or "256", the major number would be 13 or 256, respectively.


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

This shall indicate the channel major number value (for example, using ATSC format). When the channel number is expressed as a string, such as "13.1" or "256", the major number would be 13 or 256, respectively.


[View source]
def minor_number : UInt16 #

This shall indicate the channel minor number value (for example, using ATSC format). When the channel number is expressed as a string, such as "13.1" or "256", the minor number would be 1 or 0, respectively.


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

This shall indicate the channel minor number value (for example, using ATSC format). When the channel number is expressed as a string, such as "13.1" or "256", the minor number would be 1 or 0, respectively.


[View source]
def name : String | Nil #

This shall indicate the marketing name for the channel, such as “The CW" or "Comedy Central". This field is optional, but SHOULD be provided when known.


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

This shall indicate the marketing name for the channel, such as “The CW" or "Comedy Central". This field is optional, but SHOULD be provided when known.


[View source]