public static interface FlutterJNI.AccessibilityDelegate
AccessibilityBridge
is an example of an AccessibilityDelegate
.
Modifier and Type | Method and Description |
---|---|
void |
updateCustomAccessibilityActions(ByteBuffer buffer,
String[] strings)
Sends new custom accessibility actions from Flutter to Android.
|
void |
updateSemantics(ByteBuffer buffer,
String[] strings)
Sends new
SemanticsNode information from Flutter to Android. |
void updateCustomAccessibilityActions(@NonNull ByteBuffer buffer, @NonNull String[] strings)
Implementers are expected to maintain an Android-side cache of custom accessibility actions. This method provides new actions to add to that cache.
void updateSemantics(@NonNull ByteBuffer buffer, @NonNull String[] strings)
SemanticsNode
information 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.