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 and Description
    --- | ---
    `static java.lang.String` | `TAG`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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