SensibillSDK
Main class used to configure the Sensibill Environment
-
Singleton Instance of the Sensibill Class
-
User defined locale. Defaults to en-CA
-
An instance of
TokenProvider
provided on start -
Locale. Our API only supports a set of locales. This property returns the locale that will effectively be used. Can be different than userDefinedLocale
-
Request to start SDK. Note that this is an asynchronous operation. Caller must wait for start callback to return and succeed before attempting any further interaction with SDK.
-
Requests to stop the SDK and invalidates user token.
If called during start, will stop the SDK whenever possible and will return
startWasInterrupted
error in start callback. -
Requests to stop the SDK. Allows to specify if user token must be invalidated.
If called during start, will stop the SDK whenever possible and will return
startWasInterrupted
error in start callback.
-
Refreshes token by calling a
tokenProvider
, and registers new credentials