ChannelTrait.ChannelInfoStruct

class ChannelTrait.ChannelInfoStruct


A channel in a channel lineup.

Summary

Public constructors

ChannelInfoStruct(
    majorNumber: UShort,
    minorNumber: UShort,
    name: OptionalValue<String>,
    callSign: OptionalValue<String>,
    affiliateCallSign: OptionalValue<String>,
    identifier: OptionalValue<String>,
    type: OptionalValue<ChannelTrait.ChannelTypeEnum>
)

Creates the ChannelInfoStruct class.

Public properties

OptionalValue<String>

The local affiliate call sign of channel.

OptionalValue<String>

The call sign of the channel.

OptionalValue<String>
UShort

The channel major number value, in ATSC format.

UShort

The channel minor number value, in ATSC format.

OptionalValue<String>

The name of the channel.

OptionalValue<ChannelTrait.ChannelTypeEnum>

Public constructors

ChannelInfoStruct

ChannelInfoStruct(
    majorNumber: UShort,
    minorNumber: UShort,
    name: OptionalValue<String> = OptionalValue.absent(),
    callSign: OptionalValue<String> = OptionalValue.absent(),
    affiliateCallSign: OptionalValue<String> = OptionalValue.absent(),
    identifier: OptionalValue<String> = OptionalValue.absent(),
    type: OptionalValue<ChannelTrait.ChannelTypeEnum> = OptionalValue.absent()
)

Creates the ChannelInfoStruct class.

Public properties

affiliateCallSign

val affiliateCallSignOptionalValue<String>

The local affiliate call sign of channel.

callSign

val callSignOptionalValue<String>

The call sign of the channel.

identifier

val identifierOptionalValue<String>

majorNumber

val majorNumberUShort

The channel major number value, in ATSC format.

minorNumber

val minorNumberUShort

The channel minor number value, in ATSC format.

name

val nameOptionalValue<String>

The name of the channel.