Options
public struct Options : OptionSet
Specifies which events to monitor.
-
Monitor
didBecomeActive
events.Declaration
Swift
public static let didBecomeActive: ApplicationStateMonitor.Options
-
Monitor
didEnterBackground
events.Declaration
Swift
public static let didEnterBackground: ApplicationStateMonitor.Options
-
Monitor
didFinishLaunching
events.Declaration
Swift
public static let didFinishLaunching: ApplicationStateMonitor.Options
-
Monitor
willEnterForeground
events.Declaration
Swift
public static let willEnterForeground: ApplicationStateMonitor.Options
-
Monitor
willResignActive
events.Declaration
Swift
public static let willResignActive: ApplicationStateMonitor.Options
-
Monitor
willTerminate
events.Declaration
Swift
public static let willTerminate: ApplicationStateMonitor.Options
-
Monitor all events.
Declaration
Swift
public static let all: ApplicationStateMonitor.Options