@theoplayer/react-native-ui
Version:
A React Native UI for @theoplayer/react-native
11 lines • 508 B
TypeScript
import { CastState } from 'react-native-theoplayer';
/**
* Returns {@link react-native-theoplayer!THEOplayer.cast.airplay | the player's airplay state}, automatically updating whenever it changes.
*
* This hook must only be used in a component mounted inside a {@link THEOplayerDefaultUi} or {@link UiContainer},
* or alternatively any other component that provides a {@link PlayerContext}.
*
* @group Hooks
*/
export declare const useAirplay: () => CastState;
//# sourceMappingURL=useAirplay.d.ts.map