as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

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

Audio

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

MediaPlayerDeInitStatus


render()

render(): any

Returns

any


Last updated: Jul 31, 2026