SOSStopReason
enum SOSStopReason {}
Reasons provided to the -[SOSDelegate sos:didStopWithReason:error:]
event.
See
SOSDelegate
-
User disconnected the session.
Declaration
Objective-C
SOSStopReasonUserDisconnected = 1
Swift
case userDisconnected = 1
-
Agent disconnected the session.
Declaration
Objective-C
SOSStopReasonAgentDisconnected = 2
Swift
case agentDisconnected = 2
-
Session ended due to an error.
Declaration
Objective-C
SOSStopReasonSessionError = 3
Swift
case sessionError = 3
-
Session was ended in response to the application attempting to terminate.
Declaration
Objective-C
SOSStopReasonExternalUnknown = 4
Swift
case externalUnknown = 4
-
Session failed due to timeout.
Declaration
Objective-C
SOSStopReasonSessionTimeout = 5
Swift
case sessionTimeout = 5
-
Session ended because the app was backgrounded before the connection completed.
Declaration
Objective-C
SOSStopReasonBackgroundedBeforeConnected = 6
Swift
case backgroundedBeforeConnected = 6
-
Reset the cause for session disconnection.
Declaration
Objective-C
SOSStopReasonInvalid = -1
Swift
case invalid = -1