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 givenAccessibilityChannel
.To register an
AccessibilityMessageHandler
with aAccessibilityChannel
, seeAccessibilityChannel.setAccessibilityMessageHandler(AccessibilityMessageHandler)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
announce(String message)
The Dart application would like the givenmessage
to be announced.void
onLongPress(int nodeId)
The user has long pressed on the widget with the givennodeId
.void
onTap(int nodeId)
The user has tapped on the widget with the givennodeId
.void
onTooltip(String message)
The user has opened a tooltip.-
Methods inherited from interface io.flutter.embedding.engine.FlutterJNI.AccessibilityDelegate
updateCustomAccessibilityActions, updateSemantics
-
-
-
-
Method Detail
-
announce
void announce(@NonNull String message)
The Dart application would like the givenmessage
to be announced.
-
onTap
void onTap(int nodeId)
The user has tapped on the widget with the givennodeId
.
-
onLongPress
void onLongPress(int nodeId)
The user has long pressed on the widget with the givennodeId
.
-
onTooltip
void onTooltip(@NonNull String message)
The user has opened a tooltip.
-
-