kaios-types
    Preparing search index...

    Interface TVProgram

    Represents a TV program.

    Preference: "dom.tv.enabled"

    tv

    CertifiedApps

    interface TVProgram {
        channel: TVChannel;
        description: string | null;
        duration: number;
        eventId: string;
        rating: string | null;
        startTime: number;
        title: string;
        getAudioLanguages(): string[];
        getSubtitleLanguages(): string[];
    }
    Index

    Properties

    channel: TVChannel

    The channel this program belongs to.

    description: string | null

    The description of the program.

    duration: number

    The duration of the program in milliseconds.

    eventId: string

    The unique identifier for the event/program.

    rating: string | null

    The rating of the program.

    startTime: number

    The start time of the program in milliseconds since epoch.

    title: string

    The title of the program.

    Methods

    • Returns the list of available audio languages for this program.

      Returns string[]

      An array of language codes.

    • Returns the list of available subtitle languages for this program.

      Returns string[]

      An array of language codes.