Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
FlutterPasteboard Class Reference

#include <FlutterEngine_Internal.h>

Inheritance diagram for FlutterPasteboard:
FakePasteboard

Instance Methods

(NSInteger) - clearContents
 
(NSString *) - stringForType:
 
(BOOL- setString:forType:
 

Detailed Description

An NSPasteboard wrapper object to allow for substitution of a fake in unit tests.

Definition at line 292 of file FlutterEngine.mm.

Method Documentation

◆ clearContents

- (NSInteger) clearContents

Definition at line 196 of file FlutterEngine.mm.

294 {
295 return [[NSPasteboard generalPasteboard] clearContents];
296}

◆ setString:forType:

- (BOOL) setString: (NSString *)  string
forType: (NSPasteboardType)  dataType 

◆ stringForType:

- (NSString *) stringForType: (NSPasteboardType)  dataType

Definition at line 196 of file FlutterEngine.mm.

298 :(NSPasteboardType)dataType {
299 return [[NSPasteboard generalPasteboard] stringForType:dataType];
300}

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