Package com.brightcove.player.management
Class BrightcoveClosedCaptioningManager
- java.lang.Object
-
- com.brightcove.player.management.BrightcoveClosedCaptioningManager
-
public class BrightcoveClosedCaptioningManager extends java.lang.Object
A class for managing instances of styled closed captions and their settings.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TAG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BrightcoveClosedCaptioningManager
getInstance(android.content.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
public static BrightcoveClosedCaptioningManager getInstance(android.content.Context context)
Get the BrightcoveClosedCaptioningManager instance.- Returns:
- The BrightcoveClosedCaptioningManager
-
getStyle
public BrightcoveCaptionStyle getStyle()
Load the styling options from shared preferences if available.
-
setStyle
public void setStyle(BrightcoveCaptionStyle style)
Save the passed-in style to the SharedPreferences.- Parameters:
style
- the style to write to disk
-
-