struct ProgramStructA program within an electronic program guide (EPG).
-
A unique identifier for a program within an electronic program guide list.
Declaration
Swift
let identifier: String -
The channel associated to the program.
Declaration
Swift
let channel: Matter.ChannelTrait.ChannelInfoStruct -
The start time of a program, as a UTC time.
Declaration
Swift
let startTime: UInt32 -
The end time of a program, as a UTC time.
Declaration
Swift
let endTime: UInt32 -
The title or name for the specific program.
Declaration
Swift
let title: String -
The subtitle for the specific program.
Declaration
Swift
let subtitle: String? -
The brief description for the specific program.
Declaration
Swift
let description: String? -
The audio language for the specific program.
Declaration
Swift
let audioLanguages: [String]? -
Indicating the level of parental guidance recommended for a particular program.
Declaration
Swift
let ratings: [String]? -
A URL of a thumbnail that clients can use to render an image for the program.
Declaration
Swift
let thumbnailUrl: String? -
A URL of a poster that clients can use to render an image for the program on the detail view.
Declaration
Swift
let posterArtUrl: String? -
The DVB-I URL associated to the program.
Declaration
Swift
let dvbiUrl: String? -
The date on which the program was released.
Declaration
Swift
let releaseDate: String? -
Additional information on the parental guidance.
Declaration
Swift
let parentalGuidanceText: String? -
The recording status of the program.
Declaration
Swift
let recordingFlag: Matter.ChannelTrait.RecordingFlagBitmap? -
The information of a series such as season and episode number.
Declaration
Swift
let seriesInfo: Matter.ChannelTrait.SeriesInfoStruct? -
The category of a particular program.
Declaration
Swift
let categoryList: [Matter.ChannelTrait.ProgramCategoryStruct]? -
A list of the cast or the crew on the program.
Declaration
Swift
let castList: [Matter.ChannelTrait.ProgramCastStruct]? -
Creates a new Struct instance using data read from the given
TraitDecoder.Throws
HomeError.parseErrorwhen parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throwsParameters
decoderThe raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws -
Returns the field corresponding to the given field ID.
Declaration
Swift
static func structField(id: UInt32) -> (any Field)?