THEOplayer React Native Connectors
    Preparing search index...

    Interface TvEpisode

    An object representing a tv episode.

    TvEpisodeEntity.

    interface TvEpisode {
        airDate: number;
        availability: Availability;
        availabilityTimeWindows?: DisplayTimeWindow[];
        contentRating: RatingSystem[];
        downloadedOnDevice?: boolean;
        duration: number;
        episodeDisplayNumber?: string;
        episodeNumber?: number;
        genres: string[];
        id?: string;
        infoPageUri?: string;
        isNextEpisodeAvailable?: boolean;
        lastEngagementTime?: number;
        lastPlaybackPosition?: number;
        name: string;
        platformSpecificPlaybackUri?: PlatformUri[];
        playbackUri: string;
        posters: Poster[];
        price?: Price;
        seasonNumber?: string;
        seasonTitle?: string;
        showTitle?: string;
        type: TvEpisode;
        watchNextType?: WatchNextType;
    }

    Hierarchy (View Summary)

    Index

    Properties

    airDate: number

    The air date of the episode, in epoch milliseconds.

    availability: Availability

    The availability of the entity.

    availabilityTimeWindows?: DisplayTimeWindow[]

    A list of time windows at which the entity is available.

    contentRating: RatingSystem[]

    A list of content ratings.

    downloadedOnDevice?: boolean

    Whether the entity was downloaded on the device for offline viewing.

    duration: number

    Duration in milliseconds.

    episodeDisplayNumber?: string

    The episode number as a string that can be displayed.

    episodeNumber?: number

    The episode number.

    genres: string[]

    A list of genres.

    id?: string

    The optional entity id.

    infoPageUri?: string

    The deep link to the provider app to show details about the entity.

    isNextEpisodeAvailable?: boolean

    Whether the next episode is already available.

    lastEngagementTime?: number

    The last engagement time in milliseconds. Must be provided when the item is in the Continuation cluster.

    lastPlaybackPosition?: number

    The last playback position in milliseconds. Must be provided when the item is in the Continuation cluster and WatchNextType is CONTINUE. In epoch milliseconds.

    name: string

    The entity's name or title.

    platformSpecificPlaybackUri?: PlatformUri[]

    A list of platform-specific deep links to the provider app to start playing the entity.

    playbackUri: string

    The deep link to the provider app to start playing the entity.

    posters: Poster[]

    At least one image is required, and must be provided with an aspect ratio. (Landscape is preferred but passing both portrait and landscape images for different scenarios is recommended.)

    price?: Price

    The entity's price.

    seasonNumber?: string

    The season number as a string.

    seasonTitle?: string

    The season title.

    showTitle?: string

    The show title.

    type: TvEpisode

    The entity type.

    watchNextType?: WatchNextType

    WatchNext type in case the entity is in a continuation cluster. Either continue, new, next or watchlist.