Package io.flutter.plugin.platform
Class PlatformViewsControllerDelegator
java.lang.Object
io.flutter.plugin.platform.PlatformViewsControllerDelegator
- All Implemented Interfaces:
PlatformViewsAccessibilityDelegate
public class PlatformViewsControllerDelegator
extends Object
implements PlatformViewsAccessibilityDelegate
-
Constructor Summary
ConstructorsConstructorDescriptionPlatformViewsControllerDelegator
(PlatformViewsController platformViewsController, PlatformViewsController2 platformViewsController2) -
Method Summary
Modifier and TypeMethodDescriptionvoid
attachAccessibilityBridge
(AccessibilityBridge accessibilityBridge) Attaches an accessibility bridge for this platform views accessibility delegate.void
Detaches the current accessibility bridge.getPlatformViewById
(int viewId) Returns the root of the view hierarchy for the platform view with the requested id, or null if there is no corresponding view.boolean
usesVirtualDisplay
(int id) Returns true if the platform view uses virtual displays.
-
Constructor Details
-
PlatformViewsControllerDelegator
public PlatformViewsControllerDelegator(PlatformViewsController platformViewsController, PlatformViewsController2 platformViewsController2)
-
-
Method Details
-
getPlatformViewById
Description copied from interface:PlatformViewsAccessibilityDelegate
Returns the root of the view hierarchy for the platform view with the requested id, or null if there is no corresponding view.- Specified by:
getPlatformViewById
in interfacePlatformViewsAccessibilityDelegate
-
usesVirtualDisplay
public boolean usesVirtualDisplay(int id) Description copied from interface:PlatformViewsAccessibilityDelegate
Returns true if the platform view uses virtual displays.- Specified by:
usesVirtualDisplay
in interfacePlatformViewsAccessibilityDelegate
-
attachAccessibilityBridge
Description copied from interface:PlatformViewsAccessibilityDelegate
Attaches an accessibility bridge for this platform views accessibility delegate.Accessibility events originating in platform views belonging to this delegate will be delegated to this accessibility bridge.
- Specified by:
attachAccessibilityBridge
in interfacePlatformViewsAccessibilityDelegate
-
detachAccessibilityBridge
public void detachAccessibilityBridge()Description copied from interface:PlatformViewsAccessibilityDelegate
Detaches the current accessibility bridge.Any accessibility events sent by platform views belonging to this delegate will be ignored until a new accessibility bridge is attached.
- Specified by:
detachAccessibilityBridge
in interfacePlatformViewsAccessibilityDelegate
-