Amazon Developer

as

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

KeplerCaptionsView

KeplerCaptionsView

クローズドキャプションや字幕を画面上にレンダリングするReact Nativeコンポーネントです。このコンポーネントは、VideoPlayerコンポーネントやAudioPlayerコンポーネントを使用してプレバッファリングモードで動作している場合にのみ使用してください。

アプリでは、onCaptionViewCreatedイベントコールバックで渡されたキャプションハンドルを、setCaptionViewHandle関数を通じてVideoPlayerAudioPlayerに関連付けて、プレーヤーがキャプションや字幕を画面上にレンダリングできるようにします。

拡張

  • React.Component

コンストラクタ

new KeplerCaptionsView()

new KeplerCaptionsView(props): KeplerCaptionsView

パラメーター

props

CaptionViewProps

戻り値

KeplerCaptionsView

メソッド

componentDidMount()

componentDidMount(): void


componentWillUnmount()

componentWillUnmount(): void


render()

render(): React.ReactNode

戻り値

React.ReactNode


Last updated: 2026年7月31日