Flutter Engine
The Flutter Engine
Instance Methods | Properties | List of all members
SceneDelegate Class Reference

#import <SceneDelegate.h>

Inheritance diagram for SceneDelegate:

Instance Methods

(void) - scene:willConnectToSession:options: [implementation]
 
(void) - sceneDidDisconnect: [implementation]
 
(void) - sceneDidBecomeActive: [implementation]
 
(void) - sceneWillResignActive: [implementation]
 
(void) - sceneWillEnterForeground: [implementation]
 
(void) - sceneDidEnterBackground: [implementation]
 

Properties

UIWindow * window
 

Detailed Description

Definition at line 10 of file SceneDelegate.h.

Method Documentation

◆ scene:willConnectToSession:options:

- (void) scene: (UIScene*)  scene
willConnectToSession: (UISceneSession*)  session
options: (UISceneConnectionOptions*)  connectionOptions 
implementation

Definition at line 1 of file SceneDelegate.m.

13 :(UIScene*)scene
14 willConnectToSession:(UISceneSession*)session
15 options:(UISceneConnectionOptions*)connectionOptions {
16 // Use this method to optionally configure and attach the UIWindow `window` to the provided
17 // UIWindowScene `scene`. If using a storyboard, the `window` property will automatically be
18 // initialized and attached to the scene. This delegate does not imply the connecting scene or
19 // session are new (see `application:configurationForConnectingSceneSession` instead).
20}
const char * options

◆ sceneDidBecomeActive:

- (void) sceneDidBecomeActive: (UIScene*)  scene
implementation

Definition at line 1 of file SceneDelegate.m.

30 :(UIScene*)scene {
31 // Called when the scene has moved from an inactive state to an active state.
32 // Use this method to restart any tasks that were paused (or not yet started) when the scene was
33 // inactive.
34}

◆ sceneDidDisconnect:

- (void) sceneDidDisconnect: (UIScene*)  scene
implementation

Definition at line 1 of file SceneDelegate.m.

22 :(UIScene*)scene {
23 // Called as the scene is being released by the system.
24 // This occurs shortly after the scene enters the background, or when its session is discarded.
25 // Release any resources associated with this scene that can be re-created the next time the scene
26 // connects. The scene may re-connect later, as its session was not necessarily discarded (see
27 // `application:didDiscardSceneSessions` instead).
28}

◆ sceneDidEnterBackground:

- (void) sceneDidEnterBackground: (UIScene*)  scene
implementation

Definition at line 1 of file SceneDelegate.m.

46 :(UIScene*)scene {
47 // Called as the scene transitions from the foreground to the background.
48 // Use this method to save data, release shared resources, and store enough scene-specific state
49 // information to restore the scene back to its current state.
50}

◆ sceneWillEnterForeground:

- (void) sceneWillEnterForeground: (UIScene*)  scene
implementation

Definition at line 1 of file SceneDelegate.m.

41 :(UIScene*)scene {
42 // Called as the scene transitions from the background to the foreground.
43 // Use this method to undo the changes made on entering the background.
44}

◆ sceneWillResignActive:

- (void) sceneWillResignActive: (UIScene*)  scene
implementation

Definition at line 1 of file SceneDelegate.m.

36 :(UIScene*)scene {
37 // Called when the scene will move from an active state to an inactive state.
38 // This may occur due to temporary interruptions (ex. an incoming phone call).
39}

Property Documentation

◆ window

- (UIWindow*) window
readwritenonatomicstrong

Definition at line 12 of file SceneDelegate.h.


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