UNPKG

react-native-theoplayer

Version:

A THEOplayer video component for react-native.

33 lines (28 loc) 571 B
import type { CastState } from './CastState'; /** * The Airplay API. * * @category Casting * @public */ export interface Airplay { /** * Whether the player is connected with an airplay device. */ readonly casting: boolean; /** * The state of the casting process. */ readonly state: CastState; /** * Start a casting session with the player's source. * * @remarks * <br/> - A native browser pop-up will prompt to choose an airplay device. */ start(): void; /** * Stop the active casting session. */ stop(): void; }