Interface AccessibilityChannel.AccessibilityMessageHandler
- All Superinterfaces:
FlutterJNI.AccessibilityDelegate
- Enclosing class:
- AccessibilityChannel
public static interface AccessibilityChannel.AccessibilityMessageHandler
extends FlutterJNI.AccessibilityDelegate
Handler that receives accessibility messages sent from Flutter to Android through a given
AccessibilityChannel
.
To register an AccessibilityMessageHandler
with a AccessibilityChannel
, see
AccessibilityChannel.setAccessibilityMessageHandler(AccessibilityMessageHandler)
.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
The Dart application would like the givenmessage
to be announced.void
onFocus
(int nodeId) The framework has requested focus on the semantics node with the givennodeId
.void
onLongPress
(int nodeId) The user has long pressed on the semantics node with the givennodeId
.void
onTap
(int nodeId) The user has tapped on the semantics node with the givennodeId
.void
The user has opened a tooltip.Methods inherited from interface io.flutter.embedding.engine.FlutterJNI.AccessibilityDelegate
updateCustomAccessibilityActions, updateSemantics
-
Method Details
-
announce
The Dart application would like the givenmessage
to be announced. -
onTap
void onTap(int nodeId) The user has tapped on the semantics node with the givennodeId
. -
onLongPress
void onLongPress(int nodeId) The user has long pressed on the semantics node with the givennodeId
. -
onFocus
void onFocus(int nodeId) The framework has requested focus on the semantics node with the givennodeId
. -
onTooltip
The user has opened a tooltip.
-