QNSessions
This class provides methods to connect to and logout from the established session against the server.
-
Information about current user
-
Token for current session
-
True if an active session can be restored
-
Session identifier for signaling server
-
True when wac server and media server are connected and authenticated
-
Connects the session and notify
ClientStateDelegatewhen it finishes, onSuccess is called if it’s all OK or onFailure(ErrorType) if an error occurs. -
Restore an active session that had been activated before. (Call canRestoreSession to check if exist an active session)
-
Destroys the session established against the server.
-
Suspend session, should be called when app enters background
-
Register a new push token in server
-
Check if a permission is granted in current session