54 references to iOSLifecycle
Microsoft.Maui (54)
LifecycleEvents\iOS\iOSLifecycleBuilderExtensions.cs (26)
8
public static IiOSLifecycleBuilder ContinueUserActivity(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.ContinueUserActivity del) => lifecycle.OnEvent(del);
9
public static IiOSLifecycleBuilder DidEnterBackground(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.DidEnterBackground del) => lifecycle.OnEvent(del);
10
public static IiOSLifecycleBuilder WillFinishLaunching(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.WillFinishLaunching del) => lifecycle.OnEvent(del);
11
public static IiOSLifecycleBuilder FinishedLaunching(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.FinishedLaunching del) => lifecycle.OnEvent(del);
12
public static IiOSLifecycleBuilder OnActivated(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.OnActivated del) => lifecycle.OnEvent(del);
13
public static IiOSLifecycleBuilder OnResignActivation(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.OnResignActivation del) => lifecycle.OnEvent(del);
14
public static IiOSLifecycleBuilder OpenUrl(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.OpenUrl del) => lifecycle.OnEvent(del);
15
public static IiOSLifecycleBuilder PerformActionForShortcutItem(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.PerformActionForShortcutItem del) => lifecycle.OnEvent(del);
16
public static IiOSLifecycleBuilder WillEnterForeground(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.WillEnterForeground del) => lifecycle.OnEvent(del);
17
public static IiOSLifecycleBuilder WillTerminate(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.WillTerminate del) => lifecycle.OnEvent(del);
18
public static IiOSLifecycleBuilder ApplicationSignificantTimeChange(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.ApplicationSignificantTimeChange del) => lifecycle.OnEvent(del);
22
public static IiOSLifecycleBuilder SceneWillConnect(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.SceneWillConnect del) => lifecycle.OnEvent(del);
26
public static IiOSLifecycleBuilder SceneDidDisconnect(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.SceneDidDisconnect del) => lifecycle.OnEvent(del);
30
public static IiOSLifecycleBuilder SceneOnActivated(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.SceneOnActivated del) => lifecycle.OnEvent(del);
34
public static IiOSLifecycleBuilder SceneOnResignActivation(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.SceneOnResignActivation del) => lifecycle.OnEvent(del);
38
public static IiOSLifecycleBuilder SceneWillEnterForeground(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.SceneWillEnterForeground del) => lifecycle.OnEvent(del);
42
public static IiOSLifecycleBuilder SceneDidEnterBackground(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.SceneDidEnterBackground del) => lifecycle.OnEvent(del);
47
public static IiOSLifecycleBuilder SceneOpenUrl(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.SceneOpenUrl del) => lifecycle.OnEvent(del);
51
public static IiOSLifecycleBuilder SceneContinueUserActivity(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.SceneContinueUserActivity del) => lifecycle.OnEvent(del);
55
public static IiOSLifecycleBuilder SceneWillContinueUserActivity(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.SceneWillContinueUserActivity del) => lifecycle.OnEvent(del);
59
public static IiOSLifecycleBuilder SceneDidFailToContinueUserActivity(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.SceneDidFailToContinueUserActivity del) => lifecycle.OnEvent(del);
63
public static IiOSLifecycleBuilder SceneDidUpdateUserActivity(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.SceneDidUpdateUserActivity del) => lifecycle.OnEvent(del);
68
public static IiOSLifecycleBuilder SceneRestoreInteractionState(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.SceneRestoreInteractionState del) => lifecycle.OnEvent(del);
73
public static IiOSLifecycleBuilder WindowSceneDidUpdateCoordinateSpace(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.WindowSceneDidUpdateCoordinateSpace del) => lifecycle.OnEvent(del);
75
internal static IiOSLifecycleBuilder OnMauiContextCreated(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.OnMauiContextCreated del) => lifecycle.OnEvent(del);
76
internal static IiOSLifecycleBuilder OnPlatformWindowCreated(this IiOSLifecycleBuilder lifecycle,
iOSLifecycle
.OnPlatformWindowCreated del) => lifecycle.OnEvent(del);
Platform\iOS\ApplicationExtensions.cs (1)
114
applicationContext.Services?.InvokeLifecycleEvents<
iOSLifecycle
.OnMauiContextCreated>(del => del(mauiContext));
Platform\iOS\MauiUIApplicationDelegate.cs (13)
53
_services?.InvokeLifecycleEvents<
iOSLifecycle
.WillFinishLaunching>(del => del(application, launchOptions));
71
_services?.InvokeLifecycleEvents<
iOSLifecycle
.OnPlatformWindowCreated>(del => del(Window));
74
_services?.InvokeLifecycleEvents<
iOSLifecycle
.FinishedLaunching>(del => del(application!, launchOptions!));
97
_services?.InvokeLifecycleEvents<
iOSLifecycle
.PerformActionForShortcutItem>(del => del(application, shortcutItem, completionHandler));
105
_services?.InvokeLifecycleEvents<
iOSLifecycle
.OpenUrl>(del =>
118
_services?.InvokeLifecycleEvents<
iOSLifecycle
.ContinueUserActivity>(del =>
129
_services?.InvokeLifecycleEvents<
iOSLifecycle
.OnActivated>(del => del(application));
135
_services?.InvokeLifecycleEvents<
iOSLifecycle
.OnResignActivation>(del => del(application));
141
_services?.InvokeLifecycleEvents<
iOSLifecycle
.WillTerminate>(del => del(application));
147
_services?.InvokeLifecycleEvents<
iOSLifecycle
.DidEnterBackground>(del => del(application));
153
_services?.InvokeLifecycleEvents<
iOSLifecycle
.WillEnterForeground>(del => del(application));
159
_services?.InvokeLifecycleEvents<
iOSLifecycle
.ApplicationSignificantTimeChange>(del => del(application));
165
_services?.InvokeLifecycleEvents<
iOSLifecycle
.PerformFetch>(del => del(application, completionHandler));
Platform\iOS\MauiUISceneDelegate.cs (14)
20
IPlatformApplication.Current?.Services?.InvokeLifecycleEvents<
iOSLifecycle
.SceneWillConnect>(del => del(scene, session, connectionOptions));
27
GetServiceProvider()?.InvokeLifecycleEvents<
iOSLifecycle
.OnPlatformWindowCreated>(del => del(Window));
34
IPlatformApplication.Current?.Services?.InvokeLifecycleEvents<
iOSLifecycle
.SceneDidDisconnect>(del => del(scene));
74
GetServiceProvider()?.InvokeLifecycleEvents<
iOSLifecycle
.SceneWillEnterForeground>(del => del(scene));
78
GetServiceProvider()?.InvokeLifecycleEvents<
iOSLifecycle
.SceneOnActivated>(del => del(scene));
82
GetServiceProvider()?.InvokeLifecycleEvents<
iOSLifecycle
.SceneOnResignActivation>(del => del(scene));
86
GetServiceProvider()?.InvokeLifecycleEvents<
iOSLifecycle
.SceneDidEnterBackground>(del => del(scene));
93
GetServiceProvider()?.InvokeLifecycleEvents<
iOSLifecycle
.SceneOpenUrl>(del =>
106
GetServiceProvider()?.InvokeLifecycleEvents<
iOSLifecycle
.SceneContinueUserActivity>(del =>
116
GetServiceProvider()?.InvokeLifecycleEvents<
iOSLifecycle
.SceneWillContinueUserActivity>(del => del(scene, userActivityType));
120
GetServiceProvider()?.InvokeLifecycleEvents<
iOSLifecycle
.SceneDidFailToContinueUserActivity>(del => del(scene, userActivityType, error));
124
GetServiceProvider()?.InvokeLifecycleEvents<
iOSLifecycle
.SceneDidUpdateUserActivity>(del => del(scene, userActivity));
131
GetServiceProvider()?.InvokeLifecycleEvents<
iOSLifecycle
.SceneRestoreInteractionState>(del => del(scene, stateRestorationActivity));
139
GetServiceProvider()?.InvokeLifecycleEvents<
iOSLifecycle
.WindowSceneDidUpdateCoordinateSpace>(del => del(windowScene, previousCoordinateSpace, previousInterfaceOrientation, previousTraitCollection));