Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
io.flutter.embedding.engine.FlutterJNI.AccessibilityDelegate Interface Reference
Inheritance diagram for io.flutter.embedding.engine.FlutterJNI.AccessibilityDelegate:
io.flutter.embedding.engine.systemchannels.AccessibilityChannel.AccessibilityMessageHandler

Public Member Functions

void updateCustomAccessibilityActions (@NonNull ByteBuffer buffer, @NonNull String[] strings)
 
void updateSemantics ( @NonNull ByteBuffer buffer, @NonNull String[] strings, @NonNull ByteBuffer[] stringAttributeArgs)
 

Detailed Description

Delegate responsible for creating and updating Android-side caches of Flutter's semantics tree and custom accessibility actions.

AccessibilityBridge is an example of an AccessibilityDelegate.

Definition at line 1503 of file FlutterJNI.java.

Member Function Documentation

◆ updateCustomAccessibilityActions()

void io.flutter.embedding.engine.FlutterJNI.AccessibilityDelegate.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 io.flutter.embedding.engine.FlutterJNI.AccessibilityDelegate.updateSemantics ( @NonNull ByteBuffer  buffer,
@NonNull String[]  strings,
@NonNull ByteBuffer[]  stringAttributeArgs 
)

Sends new 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.


The documentation for this interface was generated from the following file: