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 TypeMethodDescriptionvoidattachAccessibilityBridge(AccessibilityBridge accessibilityBridge) Attaches an accessibility bridge for this platform views accessibility delegate.voidDetaches 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.booleanusesVirtualDisplay(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:PlatformViewsAccessibilityDelegateReturns the root of the view hierarchy for the platform view with the requested id, or null if there is no corresponding view.- Specified by:
getPlatformViewByIdin interfacePlatformViewsAccessibilityDelegate
-
usesVirtualDisplay
public boolean usesVirtualDisplay(int id) Description copied from interface:PlatformViewsAccessibilityDelegateReturns true if the platform view uses virtual displays.- Specified by:
usesVirtualDisplayin interfacePlatformViewsAccessibilityDelegate
-
attachAccessibilityBridge
Description copied from interface:PlatformViewsAccessibilityDelegateAttaches 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:
attachAccessibilityBridgein interfacePlatformViewsAccessibilityDelegate
-
detachAccessibilityBridge
public void detachAccessibilityBridge()Description copied from interface:PlatformViewsAccessibilityDelegateDetaches 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:
detachAccessibilityBridgein interfacePlatformViewsAccessibilityDelegate
-