ACSessionStatus
open class ACSessionStatus : Decodable
Represents the status of an Activeconnect session.
When the status of a session changes, Activeconnect sends a Push Notification to the application.
ACNotificationHandler
creates an instance of this class and calls its delegate with the session status.
The application can update its UI to notify the user that the status of the session has change.
-
The session’s user.
Declaration
Swift
public let userID: Int
-
The session’s application ID.
Declaration
Swift
public let applicationID: String
-
The name of session’s application.
Declaration
Swift
public let applicationName: String
-
The authentication request that created the session.
Declaration
Swift
public let authRequestID: String
-
The current state of the sessiuon
Declaration
Swift
public let status: SessionStatus
-
The duration of the session in seconds.
Declaration
Swift
public let durationSeconds: Double
-
Readbale representation of the session’s duration
Declaration
Swift
public var duration: String { get }
-
Creates an ACSessionStatus instance
Declaration
Swift
required public init(from decoder: Decoder) throws
Parameters
decoder
The decoder that is decoding the object
Return Value
- ACSessionStatus