React Native THEOplayer SDK
    Preparing search index...

    Interface CastAPI

    The API for casting.

    interface CastAPI {
        airplay?: Airplay;
        casting: boolean;
        chromecast?: Chromecast;
    }
    Index
    airplay?: Airplay

    The Airplay API.


    - Only available when the feature or extension 'airplay' is enabled.

    casting: boolean

    Whether the player is connected with a casting device.

    chromecast?: Chromecast

    The Chromecast API.


    - Only available when the feature or extension 'chromecast' is enabled.