Class CaptionConstants
- java.lang.Object
-
- com.brightcove.player.captioning.preferences.CaptionConstants
-
public class CaptionConstants extends java.lang.ObjectA set of constants related to loading/saving captions, caption defaults
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_BACKGROUND_COLORstatic intDEFAULT_BACKGROUND_OPACITYstatic intDEFAULT_EDGE_COLORstatic intDEFAULT_EDGE_TYPEstatic java.lang.StringDEFAULT_FONT_SIZECaption Default Settings - based on KitKat defaults (PRESET_WHITE_ON_BLACK)static intDEFAULT_FOREGROUND_COLORstatic intDEFAULT_FOREGROUND_OPACITYstatic java.lang.StringDEFAULT_TYPEFACEstatic intDEFAULT_WINDOW_COLORstatic intDEFAULT_WINDOW_OPACITYstatic intEDGE_TYPE_DEPRESSEDstatic intEDGE_TYPE_DROP_SHADOWstatic intEDGE_TYPE_NONEEdge Typesstatic intEDGE_TYPE_OUTLINEstatic intEDGE_TYPE_RAISEDstatic java.lang.StringPREF_BACKGROUND_COLORCaptions Preference Keysstatic java.lang.StringPREF_BACKGROUND_OPACITYstatic java.lang.StringPREF_CUSTOMstatic java.lang.StringPREF_EDGE_COLORstatic java.lang.StringPREF_EDGE_TYPEstatic java.lang.StringPREF_FONT_SIZEstatic java.lang.StringPREF_FOREGROUND_COLORstatic java.lang.StringPREF_FOREGROUND_OPACITYstatic java.lang.StringPREF_LOCALEstatic java.lang.StringPREF_MASTER_SWITCHstatic java.lang.StringPREF_PRESETstatic java.lang.StringPREF_STANDARDstatic java.lang.StringPREF_TYPEFACEstatic java.lang.StringPREF_WINDOW_COLORstatic java.lang.StringPREF_WINDOW_OPACITYstatic intPRESET_BLACK_ON_WHITEstatic intPRESET_CUSTOMstatic intPRESET_WHITE_ON_BLACKPresetsstatic intPRESET_YELLOW_ON_BLACKstatic intPRESET_YELLOW_ON_BLUE
-
Constructor Summary
Constructors Constructor Description CaptionConstants()
-
-
-
Field Detail
-
PREF_BACKGROUND_COLOR
public static final java.lang.String PREF_BACKGROUND_COLOR
Captions Preference Keys- See Also:
- Constant Field Values
-
PREF_BACKGROUND_OPACITY
public static final java.lang.String PREF_BACKGROUND_OPACITY
- See Also:
- Constant Field Values
-
PREF_FOREGROUND_COLOR
public static final java.lang.String PREF_FOREGROUND_COLOR
- See Also:
- Constant Field Values
-
PREF_FOREGROUND_OPACITY
public static final java.lang.String PREF_FOREGROUND_OPACITY
- See Also:
- Constant Field Values
-
PREF_WINDOW_COLOR
public static final java.lang.String PREF_WINDOW_COLOR
- See Also:
- Constant Field Values
-
PREF_WINDOW_OPACITY
public static final java.lang.String PREF_WINDOW_OPACITY
- See Also:
- Constant Field Values
-
PREF_EDGE_COLOR
public static final java.lang.String PREF_EDGE_COLOR
- See Also:
- Constant Field Values
-
PREF_EDGE_TYPE
public static final java.lang.String PREF_EDGE_TYPE
- See Also:
- Constant Field Values
-
PREF_FONT_SIZE
public static final java.lang.String PREF_FONT_SIZE
- See Also:
- Constant Field Values
-
PREF_TYPEFACE
public static final java.lang.String PREF_TYPEFACE
- See Also:
- Constant Field Values
-
PREF_LOCALE
public static final java.lang.String PREF_LOCALE
- See Also:
- Constant Field Values
-
PREF_PRESET
public static final java.lang.String PREF_PRESET
- See Also:
- Constant Field Values
-
PREF_CUSTOM
public static final java.lang.String PREF_CUSTOM
- See Also:
- Constant Field Values
-
PREF_STANDARD
public static final java.lang.String PREF_STANDARD
- See Also:
- Constant Field Values
-
PREF_MASTER_SWITCH
public static final java.lang.String PREF_MASTER_SWITCH
- See Also:
- Constant Field Values
-
EDGE_TYPE_NONE
public static final int EDGE_TYPE_NONE
Edge Types- See Also:
- Constant Field Values
-
EDGE_TYPE_OUTLINE
public static final int EDGE_TYPE_OUTLINE
- See Also:
- Constant Field Values
-
EDGE_TYPE_DROP_SHADOW
public static final int EDGE_TYPE_DROP_SHADOW
- See Also:
- Constant Field Values
-
EDGE_TYPE_RAISED
public static final int EDGE_TYPE_RAISED
- See Also:
- Constant Field Values
-
EDGE_TYPE_DEPRESSED
public static final int EDGE_TYPE_DEPRESSED
- See Also:
- Constant Field Values
-
PRESET_WHITE_ON_BLACK
public static final int PRESET_WHITE_ON_BLACK
Presets- See Also:
- Constant Field Values
-
PRESET_BLACK_ON_WHITE
public static final int PRESET_BLACK_ON_WHITE
- See Also:
- Constant Field Values
-
PRESET_YELLOW_ON_BLACK
public static final int PRESET_YELLOW_ON_BLACK
- See Also:
- Constant Field Values
-
PRESET_YELLOW_ON_BLUE
public static final int PRESET_YELLOW_ON_BLUE
- See Also:
- Constant Field Values
-
PRESET_CUSTOM
public static final int PRESET_CUSTOM
- See Also:
- Constant Field Values
-
DEFAULT_FONT_SIZE
public static final java.lang.String DEFAULT_FONT_SIZE
Caption Default Settings - based on KitKat defaults (PRESET_WHITE_ON_BLACK)- See Also:
- Constant Field Values
-
DEFAULT_TYPEFACE
public static final java.lang.String DEFAULT_TYPEFACE
- See Also:
- Constant Field Values
-
DEFAULT_EDGE_TYPE
public static final int DEFAULT_EDGE_TYPE
- See Also:
- Constant Field Values
-
DEFAULT_EDGE_COLOR
public static final int DEFAULT_EDGE_COLOR
- See Also:
- Constant Field Values
-
DEFAULT_FOREGROUND_COLOR
public static final int DEFAULT_FOREGROUND_COLOR
- See Also:
- Constant Field Values
-
DEFAULT_FOREGROUND_OPACITY
public static final int DEFAULT_FOREGROUND_OPACITY
- See Also:
- Constant Field Values
-
DEFAULT_BACKGROUND_COLOR
public static final int DEFAULT_BACKGROUND_COLOR
- See Also:
- Constant Field Values
-
DEFAULT_BACKGROUND_OPACITY
public static final int DEFAULT_BACKGROUND_OPACITY
- See Also:
- Constant Field Values
-
DEFAULT_WINDOW_COLOR
public static final int DEFAULT_WINDOW_COLOR
- See Also:
- Constant Field Values
-
DEFAULT_WINDOW_OPACITY
public static final int DEFAULT_WINDOW_OPACITY
- See Also:
- Constant Field Values
-
-