KeplerCaptionsView
クローズドキャプションや字幕を画面上にレンダリングするReact Nativeコンポーネントです。このコンポーネントは、VideoPlayerコンポーネントやAudioPlayerコンポーネントを使用してプレバッファリングモードで動作している場合にのみ使用してください。
アプリでは、onCaptionViewCreatedイベントコールバックで渡されたキャプションハンドルを、setCaptionViewHandle関数を通じてVideoPlayerとAudioPlayerに関連付けて、プレーヤーがキャプションや字幕を画面上にレンダリングできるようにします。
拡張
React.Component
コンストラクタ
new KeplerCaptionsView()
new KeplerCaptionsView(
props): KeplerCaptionsView
パラメーター
props
CaptionViewProps
戻り値
メソッド
componentDidMount()
componentDidMount():
void
componentWillUnmount()
componentWillUnmount():
void
render()
render():
React.ReactNode
戻り値
React.ReactNode
Last updated: 2026年7月31日

