UASituation
Objective-C
enum UASituation : NSInteger {}
Swift
enum Situation : Int, @unchecked Sendable
Represents the possible situations.
-
Represents a situation in which the action was invoked manually.
Declaration
Objective-C
UASituationManualInvocation
Swift
case manualInvocation = 0
-
Represents a situation in which the application was launched from a push notification.
Declaration
Objective-C
UASituationLaunchedFromPush
Swift
case launchedFromPush = 1
-
Represents a situation in which a push notification was received in the foreground.
Declaration
Objective-C
UASituationForegroundPush
Swift
case foregroundPush = 2
-
Represents a situation in which a push notification was received in the background.
Declaration
Objective-C
UASituationBackgroundPush
Swift
case backgroundPush = 3
-
Represents a situation in which the action was triggered from a web view
Declaration
Objective-C
UASituationWebViewInvocation
Swift
case webViewInvocation = 4
-
Represents a situation in which the action was triggered from a foreground interactive notification button.
Declaration
Objective-C
UASituationForegroundInteractiveButton
Swift
case foregroundInteractiveButton = 5
-
Represents a situation in which the action was triggered from a background interactive notification button.
Declaration
Objective-C
UASituationBackgroundInteractiveButton
Swift
case backgroundInteractiveButton = 6
-
Represents a situation in which the action was triggered from an automation trigger.
Declaration
Objective-C
UASituationAutomation
Swift
case automation = 7