Flutter Engine
The Flutter Engine
Instance Methods | Protected Attributes | List of all members
TestDisplayLinkDelegate Class Reference
Inheritance diagram for TestDisplayLinkDelegate:
<FlutterDisplayLinkDelegate>

Instance Methods

(instancetype) - initWithBlock:
 
(instancetype) - initWithBlock: [implementation]
 
(void) - onDisplayLink:targetTimestamp: [implementation]
 
(void) - onDisplayLink:targetTimestamp:
 

Protected Attributes

void(^ _block )(CFTimeInterval timestamp, CFTimeInterval targetTimestamp)
 

Detailed Description

Definition at line 13 of file FlutterDisplayLinkTest.mm.

Method Documentation

◆ initWithBlock: [1/2]

- (instancetype) initWithBlock: (void(^)(CFTimeInterval timestamp, CFTimeInterval targetTimestamp))  block

◆ initWithBlock: [2/2]

- (instancetype) initWithBlock: (void(^__strong)(CFTimeInterval, CFTimeInterval))  block
implementation

Definition at line 14 of file FlutterDisplayLinkTest.mm.

23 :(void (^__strong)(CFTimeInterval, CFTimeInterval))block {
24 if (self = [super init]) {
25 _block = block;
26 }
27 return self;
28}
void(^ _block)(CFTimeInterval timestamp, CFTimeInterval targetTimestamp)
static bool init()

◆ onDisplayLink:targetTimestamp:

- (void) onDisplayLink: (CFTimeInterval)  timestamp
targetTimestamp: (CFTimeInterval)  targetTimestamp 
implementation

Reimplemented from <FlutterDisplayLinkDelegate>.

Definition at line 14 of file FlutterDisplayLinkTest.mm.

30 :(CFTimeInterval)timestamp targetTimestamp:(CFTimeInterval)targetTimestamp {
31 _block(timestamp, targetTimestamp);
32}

Member Data Documentation

◆ _block

- (void(^ _block) (CFTimeInterval timestamp, CFTimeInterval targetTimestamp))
protected

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