Sensorberg Smart Spaces SDK for Android / com.sensorberg.smartworkspace.sdk / UserManager / Status / Reason

Reason

enum class Reason

Enum Values

NotLoggedIn

This is the default initial reason for NotLoggedIn

ClientApplicationRequestedLogout

The client application called SmartWorkspaceSdk.logout

UserNotAuthorised

The user is not authorized with the Smart Workspaces backend. This might happen due to a login failed (wrong username/password/token) or due to a revoked authorization on the backend side (HTTP-401/403).

EncryptionFailure

There was a problem initializing the SDK due to an encryption issue. Unfortunately there's no way to recover the encrypted data. See this link about issues with the AndroidKeyStore system. When this happens the SDK will automatically clear the faulty encryption key and issue a new key.

Functions

toString

fun toString(): String