Connection
interface Connection
Content copied to clipboard
This module allows to connect to the Rainbow Cloud Services. Your application will have to use this module to be able to sign-in with the user credentials and to listen to the connection state with the Rainbow Cloud Services.
Types
ConnectionState
Link copied to clipboard
Functions
registerConnectionChangedListener
Link copied to clipboard
abstract fun registerConnectionChangedListener(listener: IConnectionChanged)
Content copied to clipboard
resetCacheAndDatabase
Link copied to clipboard
abstract fun resetCacheAndDatabase()
Content copied to clipboard
signinWithOidcToken
Link copied to clipboard
abstract fun signinWithOidcToken(token: String, listener: SigninResponseListener?)
Content copied to clipboard
abstract fun signinWithOidcToken(token: String, host: String?, listener: SigninResponseListener?)
Content copied to clipboard
signinWithToken
Link copied to clipboard
abstract fun signinWithToken(token: String, listener: SigninResponseListener?)
Content copied to clipboard
abstract fun signinWithToken(token: String, host: String, listener: SigninResponseListener?)
Content copied to clipboard
unregisterConnectionChangedListener
Link copied to clipboard
abstract fun unregisterConnectionChangedListener(listener: IConnectionChanged)
Content copied to clipboard
Properties
isConnected
Link copied to clipboard
isDisconnected
Link copied to clipboard
isInProgress
Link copied to clipboard
state
Link copied to clipboard