Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
クローズドキャプションや字幕を画面上にレンダリングするReact Nativeコンポーネントです。このコンポーネントは、VideoPlayerコンポーネントやAudioPlayerコンポーネントを使用してプレバッファリングモードで動作している場合にのみ使用してください。 アプリでは、onCaptionViewCreatedイベントコールバックで渡されたキャプションハンドルを、setCaptionViewHandle関数を通じてVideoPlayerとAudioPlayerに関連付けて、プレーヤーがキャプションや字幕を画面上にレンダリングできるようにします。

拡張

  • React.Component

コンストラクタ

new KeplerCaptionsView()

new KeplerCaptionsView(props): KeplerCaptionsView

パラメーター

props
CaptionViewProps

戻り値

KeplerCaptionsView

メソッド

componentDidMount()

componentDidMount(): void

componentWillUnmount()

componentWillUnmount(): void

render()

render(): React.ReactNode

戻り値

React.ReactNode
最終更新日 2026年10月26日