Audio
A react native component that Implements the HTMLAudioElement interface that extends
HTMLMediaElement interface..
Extends
Constructors
new Audio()
new Audio(
props): Audio
Parameters
props
any
Returns
Methods
componentDidMount()
componentDidMount():
void
componentDidUpdate()
componentDidUpdate(prevProps:
AudioProps & MediaProps):void
Parameters
prevProps
AudioProps & MediaProps
componentWillUnmount()
componentWillUnmount():
void
destroyMediaPlayerSync()
destroyMediaPlayerSync(timeoutInMs:
number): MediaPlayerDeInitStatus
DeInitiailzes the player synchronously
Parameters
timeoutInMs
number
timeout threshold set by client
Returns
MediaPlayerDeInitStatus
render()
render():
any
Returns
any
Last updated: Jul 31, 2026

