Package io.flutter.embedding.engine
Interface FlutterJNI.AccessibilityDelegate
-
- All Known Subinterfaces:
AccessibilityChannel.AccessibilityMessageHandler
- Enclosing class:
- FlutterJNI
public static interface FlutterJNI.AccessibilityDelegateDelegate responsible for creating and updating Android-side caches of Flutter's semantics tree and custom accessibility actions.AccessibilityBridgeis an example of anAccessibilityDelegate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidupdateCustomAccessibilityActions(ByteBuffer buffer, String[] strings)Sends new custom accessibility actions from Flutter to Android.voidupdateSemantics(ByteBuffer buffer, String[] strings, ByteBuffer[] stringAttributeArgs)Sends newSemanticsNodeinformation from Flutter to Android.
-
-
-
Method Detail
-
updateCustomAccessibilityActions
void updateCustomAccessibilityActions(@NonNull ByteBuffer buffer, @NonNull String[] strings)Sends new custom accessibility actions from Flutter to Android.Implementers are expected to maintain an Android-side cache of custom accessibility actions. This method provides new actions to add to that cache.
-
updateSemantics
void updateSemantics(@NonNull ByteBuffer buffer, @NonNull String[] strings, @NonNull ByteBuffer[] stringAttributeArgs)Sends newSemanticsNodeinformation from Flutter to Android.Implementers are expected to maintain an Android-side cache of Flutter's semantics tree. This method provides updates from Flutter for the Android-side semantics tree cache.
-
-