java.lang.Object | |
↳ | android.view.accessibility.CaptioningManager.CaptionStyle |
Specifies visual properties for video captions, including foreground and background colors, edge properties, and typeface.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | EDGE_TYPE_DEPRESSED | Edge type value specifying depressed bevel character edges. | |||||||||
int | EDGE_TYPE_DROP_SHADOW | Edge type value specifying drop-shadowed character edges. | |||||||||
int | EDGE_TYPE_NONE | Edge type value specifying no character edges. | |||||||||
int | EDGE_TYPE_OUTLINE | Edge type value specifying uniformly outlined character edges. | |||||||||
int | EDGE_TYPE_RAISED | Edge type value specifying raised bevel character edges. | |||||||||
int | EDGE_TYPE_UNSPECIFIED | Unspecified edge type value. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
backgroundColor | The preferred background color for video captions. | ||||||||||
edgeColor |
The preferred edge color for video captions, if using an edge type
other than EDGE_TYPE_NONE .
|
||||||||||
edgeType | The preferred edge type for video captions, one of: | ||||||||||
foregroundColor | The preferred foreground color for video captions. | ||||||||||
windowColor | The preferred window color for video captions. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Edge type value specifying depressed bevel character edges.
Edge type value specifying drop-shadowed character edges.
Edge type value specifying no character edges.
Edge type value specifying uniformly outlined character edges.
Edge type value specifying raised bevel character edges.
Unspecified edge type value.
The preferred background color for video captions.
The preferred edge color for video captions, if using an edge type
other than EDGE_TYPE_NONE
.
The preferred foreground color for video captions.
Typeface
for video captions, or null if
not specified
true
if the user has specified a background color
that should override the application default, false
otherwise
true
if the user has specified an edge color that
should override the application default, false
otherwise
true
if the user has specified an edge type that
should override the application default, false
otherwise
true
if the user has specified a foreground color
that should override the application default, false
otherwise
true
if the user has specified a window color that
should override the application default, false
otherwise