Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
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