Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
TestFlutterAppLifecycleDelegate Class Reference
Inheritance diagram for TestFlutterAppLifecycleDelegate:
<FlutterAppLifecycleDelegate>

Instance Methods

(void) - setNotification: [implementation]
 
(void) - handleWillFinishLaunching: [implementation]
 
(void) - handleDidFinishLaunching: [implementation]
 
(void) - handleWillBecomeActive: [implementation]
 
(void) - handleDidBecomeActive: [implementation]
 
(void) - handleWillResignActive: [implementation]
 
(void) - handleDidResignActive: [implementation]
 
(void) - handleWillHide: [implementation]
 
(void) - handleDidHide: [implementation]
 
(void) - handleWillUnhide: [implementation]
 
(void) - handleDidUnhide: [implementation]
 
(void) - handleDidChangeScreenParameters: [implementation]
 
(void) - handleDidChangeOcclusionState: [implementation]
 
(void) - handleWillTerminate: [implementation]
 
- Instance Methods inherited from <FlutterAppLifecycleDelegate>
(void) - handleDidChangeOcclusionState:
 
(BOOL- handleOpenURLs:
 

Properties

NSNotification * lastNotification
 

Detailed Description

Definition at line 10 of file FlutterAppLifecycleDelegateTest.mm.

Method Documentation

◆ handleDidBecomeActive:

- (void) handleDidBecomeActive: (NSNotification *)  notification
implementation

Called when the |FlutterAppDelegate| gets the applicationDidBecomeActive notification.

Reimplemented from <FlutterAppLifecycleDelegate>.

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

32 :(NSNotification*)notification {
33 [self setNotification:notification];
34}

◆ handleDidChangeOcclusionState:

- (void) handleDidChangeOcclusionState: (macos(10.9))  API_AVAILABLE
implementation

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

64 :(NSNotification*)notification API_AVAILABLE(macos(10.9)) {
65 [self setNotification:notification];
66}
UITextSmartQuotesType smartQuotesType API_AVAILABLE(ios(11.0))

◆ handleDidChangeScreenParameters:

- (void) handleDidChangeScreenParameters: (NSNotification *)  notification
implementation

Called when the |FlutterAppDelegate| gets the applicationDidUnhide notification.

Reimplemented from <FlutterAppLifecycleDelegate>.

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

60 :(NSNotification*)notification {
61 [self setNotification:notification];
62}

◆ handleDidFinishLaunching:

- (void) handleDidFinishLaunching: (NSNotification *)  notification
implementation

Called when the |FlutterAppDelegate| gets the applicationDidFinishLaunching notification.

Reimplemented from <FlutterAppLifecycleDelegate>.

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

24 :(NSNotification*)notification {
25 [self setNotification:notification];
26}

◆ handleDidHide:

- (void) handleDidHide: (NSNotification *)  notification
implementation

Called when the |FlutterAppDelegate| gets the applicationDidHide notification.

Reimplemented from <FlutterAppLifecycleDelegate>.

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

48 :(NSNotification*)notification {
49 [self setNotification:notification];
50}

◆ handleDidResignActive:

- (void) handleDidResignActive: (NSNotification *)  notification
implementation

Called when the |FlutterAppDelegate| gets the applicationWillResignActive notification.

Reimplemented from <FlutterAppLifecycleDelegate>.

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

40 :(NSNotification*)notification {
41 [self setNotification:notification];
42}

◆ handleDidUnhide:

- (void) handleDidUnhide: (NSNotification *)  notification
implementation

Called when the |FlutterAppDelegate| gets the applicationDidUnhide notification.

Reimplemented from <FlutterAppLifecycleDelegate>.

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

56 :(NSNotification*)notification {
57 [self setNotification:notification];
58}

◆ handleWillBecomeActive:

- (void) handleWillBecomeActive: (NSNotification *)  notification
implementation

Called when the |FlutterAppDelegate| gets the applicationWillBecomeActive notification.

Reimplemented from <FlutterAppLifecycleDelegate>.

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

28 :(NSNotification*)notification {
29 [self setNotification:notification];
30}

◆ handleWillFinishLaunching:

- (void) handleWillFinishLaunching: (NSNotification *)  notification
implementation

Called when the |FlutterAppDelegate| gets the applicationWillFinishLaunching notification.

Reimplemented from <FlutterAppLifecycleDelegate>.

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

20 :(NSNotification*)notification {
21 [self setNotification:notification];
22}

◆ handleWillHide:

- (void) handleWillHide: (NSNotification *)  notification
implementation

Called when the |FlutterAppDelegate| gets the applicationWillHide notification.

Reimplemented from <FlutterAppLifecycleDelegate>.

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

44 :(NSNotification*)notification {
45 [self setNotification:notification];
46}

◆ handleWillResignActive:

- (void) handleWillResignActive: (NSNotification *)  notification
implementation

Called when the |FlutterAppDelegate| gets the applicationWillResignActive notification.

Reimplemented from <FlutterAppLifecycleDelegate>.

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

36 :(NSNotification*)notification {
37 [self setNotification:notification];
38}

◆ handleWillTerminate:

- (void) handleWillTerminate: (NSNotification *)  notification
implementation

Called when the |FlutterAppDelegate| gets the applicationWillTerminate notification.

Applications should not rely on always receiving all possible notifications.

For example, if the application is killed with a task manager, a kill signal, the user pulls the power from the device, or there is a rapid unscheduled disassembly of the device, no notification will be sent before the application is suddenly terminated, and this notification may be skipped.

Reimplemented from <FlutterAppLifecycleDelegate>.

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

68 :(NSNotification*)notification {
69 [self setNotification:notification];
70}

◆ handleWillUnhide:

- (void) handleWillUnhide: (NSNotification *)  notification
implementation

Called when the |FlutterAppDelegate| gets the applicationWillUnhide notification.

Reimplemented from <FlutterAppLifecycleDelegate>.

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

52 :(NSNotification*)notification {
53 [self setNotification:notification];
54}

◆ setNotification:

- (void) setNotification: (NSNotification*)  notification
implementation

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.

16 :(NSNotification*)notification {
17 self.lastNotification = notification;
18}

Property Documentation

◆ lastNotification

- (NSNotification*) lastNotification
readwritenonatomicassign

Definition at line 11 of file FlutterAppLifecycleDelegateTest.mm.


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