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

Properties

Methods

Properties

casting: boolean

Whether the player is connected with an airplay device.

state: CastState

The state of the casting process.

Methods

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

    Returns void

    Remarks


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