AccessibilityManager.HighContrastTextStateChangeListener
public
static
interface
AccessibilityManager.HighContrastTextStateChangeListener
android.view.accessibility.AccessibilityManager.HighContrastTextStateChangeListener |
Listener for the system high contrast text state. To listen for changes to
the high contrast text state on the device, implement this interface and
register it with the system by calling
AccessibilityManager.addHighContrastTextStateChangeListener(Executor, HighContrastTextStateChangeListener)
.
Summary
Public methods | |
---|---|
abstract
void
|
onHighContrastTextStateChanged(boolean enabled)
Called when the high contrast text enabled state changes. |
Public methods
onHighContrastTextStateChanged
public abstract void onHighContrastTextStateChanged (boolean enabled)
Called when the high contrast text enabled state changes.
Parameters | |
---|---|
enabled |
boolean : Whether high contrast text is enabled. |