Flutter Engine
The Flutter Engine
|
Public Member Functions | |
boolean | requestSendAccessibilityEvent ( @NonNull View embeddedView, @NonNull View eventOrigin, @NonNull AccessibilityEvent event) |
boolean | onAccessibilityHoverEvent (MotionEvent event, boolean ignorePlatformViews) |
Package Functions | |
void | setAccessibilityBridge (@Nullable AccessibilityBridge accessibilityBridge) |
Delegates accessibility events to the currently attached accessibility bridge if one is attached.
Definition at line 17 of file AccessibilityEventsDelegate.java.
|
inline |
Definition at line 47 of file AccessibilityEventsDelegate.java.
|
inline |
Delegates handling of android.view.ViewParent#requestSendAccessibilityEvent
to the accessibility bridge.
This is a no-op if there is no accessibility delegate set.
This is used by embedded platform views to propagate accessibility events from their view hierarchy to the accessibility bridge.
As the embedded view doesn't have to be the only View in the embedded hierarchy (it can have child views) and the event might have been originated from any view in this hierarchy, this method gets both a reference to the embedded platform view, and a reference to the view from its hierarchy that sent the event.
embeddedView | the embedded platform view for which the event is delegated |
eventOrigin | the view in the embedded view's hierarchy that sent the event. |
Definition at line 38 of file AccessibilityEventsDelegate.java.
|
inlinepackage |
Definition at line 58 of file AccessibilityEventsDelegate.java.