as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

KeplerCaptionsView

This is a react native component that closed captions and subtitles on the screen. Use the component only when operating in pre-buffering mode using VideoPlayer and AudioPlayer components.

Apps attach the captions handle passed by onCaptionViewCreated event callback to the VideoPlayer & AudioPlayer by calling the setCaptionViewHandle function so that the player is able to render captions or subtitles on screen.

Extends

  • React.Component

Constructors

new KeplerCaptionsView()

new KeplerCaptionsView(props): KeplerCaptionsView

Parameters

props

CaptionViewProps

Returns

KeplerCaptionsView

Methods

componentDidMount()

componentDidMount(): void


componentWillUnmount()

componentWillUnmount(): void


render()

render(): React.ReactNode

Returns

React.ReactNode


Last updated: Jul 31, 2026