Class BrightcoveClosedCaptioningManager

java.lang.Object
com.brightcove.player.management.BrightcoveClosedCaptioningManager

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

    • TAG

      public static final String TAG
  • Method Details

    • 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