-
public class BrightcoveClosedCaptioningManager
A class for managing instances of styled closed captions and their settings.
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
TAG
private static BrightcoveClosedCaptioningManager
instance
-
Method Summary
Modifier and Type Method Description static BrightcoveClosedCaptioningManager
getInstance(Context context)
Get the BrightcoveClosedCaptioningManager instance. static BrightcoveClosedCaptioningManager
getInstance(Context context)
Get the BrightcoveClosedCaptioningManager instance. BrightcoveCaptionStyle
getStyle()
Load the styling options from shared preferences if available. void
setStyle(BrightcoveCaptionStyle style)
Save the passed-in style to the SharedPreferences. -
-
Method Detail
-
getInstance
static BrightcoveClosedCaptioningManager getInstance(Context context)
Get the BrightcoveClosedCaptioningManager instance.
-
getInstance
static BrightcoveClosedCaptioningManager getInstance(Context context)
Get the BrightcoveClosedCaptioningManager instance.
-
getStyle
BrightcoveCaptionStyle getStyle()
Load the styling options from shared preferences if available.
-
setStyle
void setStyle(BrightcoveCaptionStyle style)
Save the passed-in style to the SharedPreferences.
- Parameters:
style
- the style to write to disk
-
-
-
-