toggle menu
Brightcove Player SDK for Android 10.1.2
10.1.2
sdk
switch theme
search in API
sdk
/
com.brightcove.player.captioning
/
BrightcoveClosedCaptioningTextView
Brightcove
Closed
Captioning
Text
View
open
class
BrightcoveClosedCaptioningTextView
A TextView that encapsulates a rendered closed caption.
Members
Constructors
Brightcove
Closed
Captioning
Text
View
Link copied to clipboard
constructor
(
context
:
Context
)
constructor
(
context
:
Context
,
attrs
:
AttributeSet
)
constructor
(
context
:
Context
,
attrs
:
AttributeSet
,
defStyle
:
Int
)
Properties
TAG
Link copied to clipboard
val
TAG
:
String
Functions
on
Draw
Link copied to clipboard
open
fun
onDraw
(
canvas
:
Canvas
)
We really shouldn't override draw(), since the internal View draw() does a lot of extraneous stuff.
set
Style
Link copied to clipboard
open
fun
setStyle
(
style
:
BrightcoveCaptionStyle
)