Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
FakeDelegate Class Reference
Inheritance diagram for FakeDelegate:
<FlutterViewEngineDelegate>

Instance Methods

(instancetype) - init [implementation]
 
(flutter::Rasterizer::Screenshot- takeScreenshot:asBase64Encoded: [implementation]
 
(std::shared_ptr< flutter::FlutterPlatformViewsController > &) - platformViewsController [implementation]
 
(void) - flutterViewAccessibilityDidCall [implementation]
 

Properties

BOOL callbackCalled
 
BOOL isUsingImpeller
 
- Properties inherited from <FlutterViewEngineDelegate>
BOOL isUsingImpeller
 

Detailed Description

Definition at line 11 of file FlutterViewTest.mm.

Method Documentation

◆ flutterViewAccessibilityDidCall

- (void) flutterViewAccessibilityDidCall
implementation

A callback that is called when iOS queries accessibility information of the Flutter view.

This is useful to predict the current iOS accessibility status. For example, there is no API to listen whether voice control is turned on or off. The Flutter engine uses this callback to enable semantics in order to catch the case that voice control is on.

Reimplemented from <FlutterViewEngineDelegate>.

Definition at line 13 of file FlutterViewTest.mm.

35 {
36 _callbackCalled = YES;
37}

◆ init

- (instancetype) init
implementation

Definition at line 13 of file FlutterViewTest.mm.

20 {
21 _callbackCalled = NO;
22 _platformViewsController = std::shared_ptr<flutter::FlutterPlatformViewsController>(nullptr);
23 return self;
24}
std::shared_ptr< flutter::FlutterPlatformViewsController > _platformViewsController

◆ platformViewsController

- (shared_ptr<) flutter:
implementation

Reimplemented from <FlutterViewEngineDelegate>.

Definition at line 13 of file FlutterViewTest.mm.

31 {
33}

◆ takeScreenshot:asBase64Encoded:

- Rasterizer: (flutter::Rasterizer::ScreenshotType type
asBase64Encoded: (BOOL base64Encode 
implementation

Reimplemented from <FlutterViewEngineDelegate>.

Definition at line 13 of file FlutterViewTest.mm.

27 asBase64Encoded:(BOOL)base64Encode {
28 return {};
29}
ScreenshotType
The type of the screenshot to obtain of the previously rendered layer tree.
Definition rasterizer.h:347
int BOOL

Property Documentation

◆ callbackCalled

- (BOOL) callbackCalled
readwritenonatomicassign

Definition at line 12 of file FlutterViewTest.mm.

◆ isUsingImpeller

- (BOOL) isUsingImpeller
readwritenonatomicassign

Definition at line 13 of file FlutterViewTest.mm.


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