VMF_SceneDelegate
@MainActor
class VMF_SceneDelegate : UIResponder, UIWindowSceneDelegate
This class has the Scene Delegate functionality.
-
If it’s been over this many seconds since our last load, we force a new load, the next time we open.
Declaration
Swift
@MainActor static let forceReloadDelayInSeconds: TimeInterval
-
This is set to the last time we loaded. While the app is up in the foreground, we won’t be forcing a reload, but we will, if it enters the background, then comes back.
Declaration
Swift
@MainActor static var lastReloadTime: Date
-
Declaration
Swift
@MainActor static var urlMeetingID: Int
-
The window object for this scene.
Declaration
Swift
@MainActor var window: UIWindow?
-
Quick access to the scene delegate object.
Declaration
Swift
@MainActor weak static var sceneDelegateInstance: VMF_SceneDelegate?
-
Called after the scene went into the background.
We use this to set the search screen to today/now.
Declaration
Swift
@MainActor func sceneDidEnterBackground(_: UIScene)
-
Called after the scene is entering into the foreground.
We use this to set the search screen to today/now.
Declaration
Swift
@MainActor func sceneWillEnterForeground(_: UIScene)
-
Called when the app is foregrounded via a URL.
Declaration
Swift
@MainActor func scene(_: UIScene, openURLContexts inURLContexts: Set<UIOpenURLContext>)
Parameters
openURLContexts
The Opening URL contexts (as a set).
-
Called when the app is opened via a URL from a “cold start.”
Declaration
Swift
@MainActor func scene(_ inScene: UIScene, willConnectTo: UISceneSession, options inConnectionOptions: UIScene.ConnectionOptions)
Parameters
willConnectTo
The session being connected (ignored).
options
This contains the options, among which, is the URL context.
-
Called when the app is opened via a URL (and launched).
Declaration
Swift
@MainActor func scene(_: UIScene, continue inUserActivity: NSUserActivity)
Parameters
continue
The activity being continued.
-
This will set the static property to a given meeting ID, if it is provided in the URI.
Declaration
Swift
@MainActor func resolveURL(_ inURL: URL)
Parameters
inURL
The URL to resolve.