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

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