| Flutter macOS Embedder |

Instance Methods | Protected Attributes | List of all members
_FlutterDisplayLink Class Reference
Inheritance diagram for _FlutterDisplayLink:

## Instance Methods
(void) | - didFireWithTimestamp:targetTimestamp:
Instance Methods inherited from FlutterDisplayLink
(void) | - invalidate
| Invalidates the display link. More...

## Protected Attributes
_FlutterDisplayLinkView * | _view
std::optional< CGDirectDisplayID > | _display_id
BOOL | _paused

## Additional Inherited Members
Class Methods inherited from FlutterDisplayLink
(instancetype) | + displayLinkWithView:
Properties inherited from FlutterDisplayLink
id< FlutterDisplayLinkDelegate > | delegate
BOOL | paused
| Pauses and resumes the display link. More...
CFTimeInterval | nominalOutputRefreshPeriod

## Detailed Description

Definition at line 14 of file FlutterDisplayLink.mm.

## Method Documentation

## ◆ didFireWithTimestamp:targetTimestamp:

- (void) didFireWithTimestamp: |  | (CFTimeInterval) | timestamp
targetTimestamp: |  | (CFTimeInterval) | targetTimestamp

Definition at line 50 of file FlutterDisplayLink.mm.

252 :(CFTimeInterval)timestamp
253 targetTimestamp:(CFTimeInterval)targetTimestamp {
254 FML_DCHECK(NSThread.isMainThread);
255 if (!_paused) {
256 id<FlutterDisplayLinkDelegate> delegate = _delegate;
257 [delegate onDisplayLink:timestamp targetTimestamp:targetTimestamp];
258 }
259 }
_FlutterDisplayLink::_paused
BOOL _paused
Definition: FlutterDisplayLink.mm:17
FlutterDisplayLink::delegate
id< FlutterDisplayLinkDelegate > delegate
Definition: FlutterDisplayLink.h:27

## Member Data Documentation

## ◆ _display_id

- (optional<CGDirectDisplayID>) _FlutterDisplayLink:
| protected

Definition at line 16 of file FlutterDisplayLink.mm.

## ◆ _paused

- (BOOL) _paused
| protected

Definition at line 17 of file FlutterDisplayLink.mm.

## ◆ _view

- (_FlutterDisplayLinkView*) _view
| protected

Definition at line 15 of file FlutterDisplayLink.mm.

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

- shell/platform/darwin/macos/framework/Source/FlutterDisplayLink.mm