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