Class BrightcoveCaptionStyle


public abstract class BrightcoveCaptionStyle extends Object
A convenience class to build up and represent a Caption Style
  • Constructor Details

    • BrightcoveCaptionStyle

      public BrightcoveCaptionStyle()
  • Method Details

    • preset

      public abstract int preset()
    • fontSize

      public abstract String fontSize()
    • typeface

      public abstract String typeface()
    • foregroundColor

      public abstract int foregroundColor()
    • foregroundOpacity

      public abstract int foregroundOpacity()
    • edgeType

      public abstract int edgeType()
    • edgeColor

      public abstract int edgeColor()
    • backgroundColor

      public abstract int backgroundColor()
    • backgroundOpacity

      public abstract int backgroundOpacity()
    • windowColor

      public abstract int windowColor()
    • windowOpacity

      public abstract int windowOpacity()
    • createCaptionStyle

      public static BrightcoveCaptionStyle createCaptionStyle(String fontSize, String typeface, int foregroundColor, int foregroundOpacity, int edgeType, int edgeColor, int backgroundColor, int backgroundOpacity, int windowColor, int windowOpacity)
    • createCaptionStyleFromPreset

      public static BrightcoveCaptionStyle createCaptionStyleFromPreset(String fontSize, int preset)
    • updateStyleByPreferenceKey

      public static BrightcoveCaptionStyle updateStyleByPreferenceKey(BrightcoveCaptionStyle style, String preferenceKey, Object value)
    • builder

      public static BrightcoveCaptionStyle.Builder builder()
    • validate

      public void validate()