UNPKG

@theoplayer/react-native-ui

Version:

A React Native UI for @theoplayer/react-native

11 lines 520 B
import { CastState } from 'react-native-theoplayer'; /** * Returns {@link react-native-theoplayer!THEOplayer.cast.chromecast | the player's chromecast 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 useChromecast: () => CastState; //# sourceMappingURL=useChromecast.d.ts.map