Package com.brightcove.player.management
Class BrightcoveClosedCaptioningManager
- java.lang.Object
-
- com.brightcove.player.management.BrightcoveClosedCaptioningManager
-
public class BrightcoveClosedCaptioningManager extends java.lang.ObjectA class for managing instances of styled closed captions and their settings.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTAG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BrightcoveClosedCaptioningManagergetInstance(android.content.Context context)Get the BrightcoveClosedCaptioningManager instance.BrightcoveCaptionStylegetStyle()Load the styling options from shared preferences if available.voidsetStyle(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
-
-