Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート

Audio

Audio

HTMLMediaElementインターフェイスを継承するHTMLAudioElementインターフェイスを実装するReact Nativeコンポーネントです。

拡張

コンストラクタ

new Audio()

new Audio(props): Audio

パラメーター

props

any

戻り値

Audio

メソッド

componentDidMount()?

componentDidMount(): void


componentDidUpdate()

componentDidUpdate(prevProps: AudioProps & MediaProps): void

パラメーター

prevProps

AudioProps & MediaProps


componentWillUnmount()

componentWillUnmount(): void


destroyMediaPlayerSync()

destroyMediaPlayerSync(timeoutInMs: number): MediaPlayerDeInitStatus

プレーヤーを同期的に初期化解除します

パラメーター

timeoutInMs

number

クライアントが設定したタイムアウトしきい値

戻り値

MediaPlayerDeInitStatus

MediaPlayerDeInitStatus


render()

render(): any

戻り値

any


Last updated: 2026年7月31日