React Native THEOplayer SDK
    Preparing search index...

    Interface Airplay

    The Airplay API.

    interface Airplay {
        casting: boolean;
        state: CastState;
        start(): void;
        stop(): void;
    }
    Index
    casting: boolean

    Whether the player is connected with an airplay device.

    state: CastState

    The state of the casting process.

    • Start a casting session with the player's source.

      Returns void


      - A native browser pop-up will prompt to choose an airplay device.