Stay organized with collections
Save and categorize content based on your preferences.
AccessibilityManager.TouchExplorationStateChangeListener
public
static
interface
AccessibilityManager.TouchExplorationStateChangeListener
android.view.accessibility.AccessibilityManager.TouchExplorationStateChangeListener
|
Listener for the system touch exploration state. To listen for changes to
the touch exploration state on the device, implement this interface and
register it with the system by calling
AccessibilityManager.addTouchExplorationStateChangeListener(TouchExplorationStateChangeListener)
.
Summary
Public methods
onTouchExplorationStateChanged
public abstract void onTouchExplorationStateChanged (boolean enabled)
Called when the touch exploration enabled state changes.
Parameters |
enabled |
boolean : Whether touch exploration is enabled. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# AccessibilityManager.TouchExplorationStateChangeListener\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nAccessibilityManager.TouchExplorationStateChangeListener\n========================================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/view/accessibility/AccessibilityManager.TouchExplorationStateChangeListener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nAccessibilityManager.TouchExplorationStateChangeListener\n`\n\n\n`\n\n\n`\n\n|-------------------------------------------------------------------------------------|\n| android.view.accessibility.AccessibilityManager.TouchExplorationStateChangeListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nListener for the system touch exploration state. To listen for changes to\nthe touch exploration state on the device, implement this interface and\nregister it with the system by calling\n[AccessibilityManager.addTouchExplorationStateChangeListener(TouchExplorationStateChangeListener)](/reference/android/view/accessibility/AccessibilityManager#addTouchExplorationStateChangeListener(android.view.accessibility.AccessibilityManager.TouchExplorationStateChangeListener)).\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onTouchExplorationStateChanged](/reference/android/view/accessibility/AccessibilityManager.TouchExplorationStateChangeListener#onTouchExplorationStateChanged(boolean))`(boolean enabled) ` Called when the touch exploration enabled state changes. |\n\nPublic methods\n--------------\n\n### onTouchExplorationStateChanged\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onTouchExplorationStateChanged (boolean enabled)\n```\n\nCalled when the touch exploration enabled state changes.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|---------------------------------------------------------|\n| `enabled` | `boolean`: Whether touch exploration is enabled. \u003cbr /\u003e |"]]