Flutter Engine
The Flutter Engine
Instance Methods | Properties | List of all members
FlutterPlatformViewSemanticsContainer Class Reference

#import <SemanticsObject.h>

Inheritance diagram for FlutterPlatformViewSemanticsContainer:
SemanticsObject

Instance Methods

(instancetype) - initWithBridge:uid:
 
(instancetype) - initWithBridge:uid:platformView:
 
(instancetype) - initWithBridge:uid:platformView: [implementation]
 
(id- nativeAccessibility [implementation]
 
- Instance Methods inherited from SemanticsObject
(BOOL- isAccessibilityBridgeAlive
 
(void) - setSemanticsNode:
 
(void) - replaceChildAtIndex:withChild:
 
(BOOL- nodeWillCauseLayoutChange:
 
(BOOL- nodeWillCauseScroll:
 
(BOOL- nodeShouldTriggerAnnouncement:
 
(void) - collectRoutes:
 
(NSString *) - routeName
 
(BOOL- onCustomAccessibilityAction:
 
(void) - accessibilityBridgeDidFinishUpdate
 
((unavailable("Use initWithBridge instead") - __attribute__
 
(instancetype) - initWithBridge:uid:
 
(void) - dealloc [implementation]
 
(void) - setChildren: [implementation]
 
(void) - setChildrenInHitTestOrder: [implementation]
 
(NSAttributedString *) - createAttributedStringFromString:withAttributes: [implementation]
 
(void) - showOnScreen [implementation]
 
(BOOL- isAccessibilityElement [implementation]
 
(bool) - isFocusable [implementation]
 
(NSString *) - accessibilityIdentifier [implementation]
 
(NSString *) - accessibilityLabel [implementation]
 
(bool) - containsPoint: [implementation]
 
(id- search: [implementation]
 
(id- _accessibilityHitTest:withEvent: [implementation]
 
(BOOL- accessibilityScrollToVisible [implementation]
 
(BOOL- accessibilityScrollToVisibleWithChild: [implementation]
 
(NSAttributedString *) - accessibilityAttributedLabel [implementation]
 
(NSString *) - accessibilityHint [implementation]
 
(NSAttributedString *) - accessibilityAttributedHint [implementation]
 
(NSString *) - accessibilityValue [implementation]
 
(NSAttributedString *) - accessibilityAttributedValue [implementation]
 
(CGRect) - accessibilityFrame [implementation]
 
(CGRect) - globalRect [implementation]
 
(void) - setAccessibilityContainer: [implementation]
 
(id- accessibilityContainer [implementation]
 
(BOOL- accessibilityActivate [implementation]
 
(void) - accessibilityIncrement [implementation]
 
(void) - accessibilityDecrement [implementation]
 
(BOOL- accessibilityScroll: [implementation]
 
(BOOL- accessibilityPerformEscape [implementation]
 
(void) - accessibilityElementDidBecomeFocused [implementation]
 
(void) - accessibilityElementDidLoseFocus [implementation]
 

Properties

UIView * platformView [implementation]
 
- Properties inherited from SemanticsObject
int32_t uid
 
SemanticsObjectparent
 
fml::WeakPtr< flutter::AccessibilityBridgeIosbridge
 
flutter::SemanticsNode node
 
BOOL hasChildren
 
NSArray< SemanticsObject * > * children
 
NSArray< SemanticsObject * > * childrenInHitTestOrder
 
id nativeAccessibility
 
SemanticsObjectContainercontainer [implementation]
 

Detailed Description

Designated to act as an accessibility container of a platform view.

This object does not take any accessibility actions on its own, nor has any accessibility label/value/trait/hint... on its own. The accessibility data will be handled by the platform view.

See also:

Definition at line 168 of file SemanticsObject.h.

Method Documentation

◆ initWithBridge:uid:

- (instancetype) initWithBridge: (fml::WeakPtr< flutter::AccessibilityBridgeIos >)  bridge
uid: (int32_t)  NS_UNAVAILABLE 

Reimplemented from SemanticsObject.

◆ initWithBridge:uid:platformView: [1/2]

- (instancetype) initWithBridge: (fml::WeakPtr<flutter::AccessibilityBridgeIos>)  bridge
uid: (int32_t)  uid
platformView: (nonnull FlutterTouchInterceptingView*)  platformView 
implementation

Definition at line 830 of file SemanticsObject.mm.

836 uid:(int32_t)uid
838 if (self = [super initWithBridge:bridge uid:uid]) {
839 _platformView = platformView;
840 [platformView setFlutterAccessibilityContainer:self];
841 }
842 return self;
843}
fml::WeakPtr< flutter::AccessibilityBridgeIos > bridge

◆ initWithBridge:uid:platformView: [2/2]

- (instancetype) initWithBridge: (fml::WeakPtr< flutter::AccessibilityBridgeIos >)  bridge
uid: (int32_t)  uid
platformView: (FlutterTouchInterceptingView *)  NS_DESIGNATED_INITIALIZER 

◆ nativeAccessibility

- (id) nativeAccessibility
implementation

Definition at line 830 of file SemanticsObject.mm.

845 {
846 return self.platformView;
847}

Property Documentation

◆ platformView

- (UIView*) platformView
readwritenonatomicweakimplementation

Definition at line 830 of file SemanticsObject.mm.


The documentation for this class was generated from the following files: