-
Notifications
You must be signed in to change notification settings - Fork 13
react native bitmovin player.player
Matheus Cardoso edited this page Jun 8, 2022
·
1 revision
Home > react-native-bitmovin-player > Player
The player component.
Signature:
declare class Player extends PureComponent<PlayerProps>
Extends: PureComponent<PlayerProps
Constructor | Modifiers | Description |
---|---|---|
(constructor)(props) | Constructs a new instance of the Player class |
Property | Modifiers | Type | Description |
---|---|---|---|
_onEvent | (event: NativeSyntheticEvent<Event>) => void | ||
_onPlay | (event: NativeSyntheticEvent<PlayEvent>) => void | ||
_onReady | (event: NativeSyntheticEvent<Event>) => void | ||
create | (config: PlayerConfig) => void | ||
destroy | () => void | ||
getCurrentTime | (mode?: "absolute" | "relative" | undefined) => Promise<number> | ||
getDuration | () => Promise<number> | ||
getSource | () => Promise<Source | null> | ||
getVolume | () => Promise<number> | ||
isAirPlayActive | () => Promise<boolean> | ||
isAirPlayAvailable | () => Promise<boolean> | ||
isDestroyed | () => Promise<boolean> | ||
isLive | () => Promise<boolean> | ||
isMuted | () => Promise<boolean> | ||
isPaused | () => Promise<boolean> | ||
isPlaying | () => Promise<boolean> | ||
loadSource | (config: SourceConfig) => void | ||
mute | () => void | ||
pause | () => void | ||
play | () => void | ||
seek | (time: number) => void | ||
setVolume | (volume: number) => void | ||
unload | () => void | ||
unmute | () => void |
Method | Modifiers | Description |
---|---|---|
componentDidMount() | ||
componentWillUnmount() | ||
render() |