@theoplayer/react-native-ui
Version:
A React Native UI for @theoplayer/react-native
11 lines • 514 B
TypeScript
import { type TimeRange } from 'react-native-theoplayer';
/**
* Returns {@link react-native-theoplayer!THEOplayer.seekable | the player's seekable range}, 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 useSeekable: () => TimeRange[];
//# sourceMappingURL=useSeekable.d.ts.map