Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content

Brief

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

Constructors

new KeplerCaptionsView()

new KeplerCaptionsView(props): KeplerCaptionsView

Parameters

props
CaptionViewProps

Returns

KeplerCaptionsView

Overrides

Properties

context

context: unknown If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType. Should be used with type annotation or static contextType.

Example

See

React Docs

Inherited from

React.Component.context

props

readonly props: Readonly<CaptionViewProps>

Inherited from

React.Component.props
Last modified on February 25, 2026