@theoplayer/react-native-ui
Version:
A React Native UI for @theoplayer/react-native
10 lines • 455 B
TypeScript
/**
* Returns {@link react-native-theoplayer!THEOplayer.duration | the player's current time}, 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 useCurrentTime: () => number;
//# sourceMappingURL=useCurrentTime.d.ts.map