| 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 17 of file FlutterDisplayLink.mm.

## Method Documentation

## ◆ didFireWithTimestamp:targetTimestamp:

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

Definition at line 53 of file FlutterDisplayLink.mm.

255 :(CFTimeInterval)timestamp
256 targetTimestamp:(CFTimeInterval)targetTimestamp {
257 FML_DCHECK(NSThread.isMainThread);
258 if (!_paused) {
259 id<FlutterDisplayLinkDelegate> delegate = _delegate;
260 [delegate onDisplayLink:timestamp targetTimestamp:targetTimestamp];
261 }
262 }
_FlutterDisplayLink::_paused
BOOL _paused
Definition: FlutterDisplayLink.mm:20
FlutterDisplayLink::delegate
id< FlutterDisplayLinkDelegate > delegate
Definition: FlutterDisplayLink.h:30

## Member Data Documentation

## ◆ _display_id

- (optional<CGDirectDisplayID>) _FlutterDisplayLink:
| protected

Definition at line 19 of file FlutterDisplayLink.mm.

## ◆ _paused

- (BOOL) _paused
| protected

Definition at line 20 of file FlutterDisplayLink.mm.

## ◆ _view

- (_FlutterDisplayLinkView*) _view
| protected

Definition at line 18 of file FlutterDisplayLink.mm.

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

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