SensibillSDK

Main class used to configure the Sensibill Environment

Singleton

  • Singleton Instance of the Sensibill Class

Public properties: Configuration

  • 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

Public functions: Start SDK

Public functions: Stop 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.

Public functions: Update Token