DocsTHEOplayer.com
  • Preparing search index...
  • The search index is not available
Open Video UI for React Native
  • Open Video UI for React Native
  • useChromecast

Function useChromecast

  • useChromecast(): CastState
  • Returns the player's chromecast state, automatically updating whenever it changes.

    This hook must only be used in a component mounted inside a THEOplayerDefaultUi or UiContainer, or alternatively any other component that provides a PlayerContext.

    Returns CastState

    • Defined in src/ui/hooks/useChromecast.ts:13

Settings

Member Visibility

Theme

Open Video UI for React Native
  • Loading...

Generated using TypeDoc