Class BrightcoveClosedCaptioningManager


  • public class BrightcoveClosedCaptioningManager
    extends java.lang.Object
    A class for managing instances of styled closed captions and their settings.
    • Field Detail

      • TAG

        public static final java.lang.String TAG
    • 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