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 usingVideoPlayer
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
Component<CaptionViewProps>
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 DocsInherited from
React.Component.context
props
readonly props: Readonly<CaptionViewProps>
Inherited from
React.Component.props

