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

#import <FlutterUIPressProxy.h>

Inheritance diagram for FlutterUIPressProxy:
FakeUIPressProxy

Instance Methods

(instancetype) - initWithPress:withEvent:
 
(ios(13.4) - API_AVAILABLE
 
(ios(13.4) - API_AVAILABLE
 
(ios(13.4) - API_AVAILABLE
 
(ios(13.4) - API_AVAILABLE
 
() - ios [implementation]
 
() - ios [implementation]
 
() - ios [implementation]
 
() - ios [implementation]
 

Properties

UIPress * press [implementation]
 
UIEventevent [implementation]
 

Detailed Description

A event class that is a wrapper around a UIPress and a UIEvent to allow overidding for testing purposes, since UIKit doesn't allow creation of UIEvent or UIPress directly.

Definition at line 17 of file FlutterUIPressProxy.h.

Method Documentation

◆ API_AVAILABLE [1/4]

- (ios(13.4) API_AVAILABLE

◆ API_AVAILABLE [2/4]

- (ios(13.4) API_AVAILABLE

◆ API_AVAILABLE [3/4]

- (ios(13.4) API_AVAILABLE

◆ API_AVAILABLE [4/4]

- (ios(13.4) API_AVAILABLE

◆ initWithPress:withEvent:

- (instancetype) initWithPress: (UIPress*)  press
withEvent: (ios(13.4))  API_AVAILABLE 

Definition at line 15 of file FlutterUIPressProxy.mm.

20 :(UIPress*)press withEvent:(UIEvent*)event API_AVAILABLE(ios(13.4)) {
21 self = [super init];
22 if (self) {
23 _press = press;
24 _event = event;
25 }
26 return self;
27}
ios(13.4 API_AVAILABLE()
SK_API sk_sp< SkSurface > ios(9.0)

◆ ios [1/4]

- ios
implementation

◆ ios [2/4]

- ios
implementation

◆ ios [3/4]

- ios
implementation

◆ ios [4/4]

- ios
implementation

Reimplemented in FakeUIPressProxy, FakeUIPressProxy, FakeUIPressProxy, FakeUIPressProxy, FakeUIPressProxy, FakeUIPressProxy, FakeUIPressProxy, and FakeUIPressProxy.

Definition at line 15 of file FlutterUIPressProxy.mm.

41 {
42 return _event.timestamp;
43}

Property Documentation

◆ event

- (UIEvent*) event
readnonatomicassignimplementation

Definition at line 15 of file FlutterUIPressProxy.mm.

◆ press

- (UIPress*) press
readnonatomicassignimplementation

Definition at line 14 of file FlutterUIPressProxy.mm.


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