이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.
added in version 25.1.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1

AccessibilityManagerCompat.TouchExplorationStateChangeListener

public static interface AccessibilityManagerCompat.TouchExplorationStateChangeListener

android.support.v4.view.accessibility.AccessibilityManagerCompat.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 addTouchExplorationStateChangeListener(AccessibilityManager, AccessibilityManagerCompat.TouchExplorationStateChangeListener).

Summary

Public methods

abstract void onTouchExplorationStateChanged(boolean enabled)

Called when the touch exploration enabled state changes.

Public methods

onTouchExplorationStateChanged

added in version 25.1.0
void onTouchExplorationStateChanged (boolean enabled)

Called when the touch exploration enabled state changes.

Parameters
enabled boolean: Whether touch exploration is enabled.