BackgroundSdkState
Represents the possible states of the Background SDK.
The SDK transitions between these states based on user actions and API calls. The state flow can be observed to react to state changes in the application.
Entries
Uninitialized and off duty state. This is the initial state before the SDK is initialized. In this state, most SDK features are unavailable. Call LocalzBackgroundSDK.initialize to transition to the INITIALIZED state.
Initialized and off duty state. The SDK has been initialized but no user is logged in. Basic SDK features are available, but user-specific operations require login. Call login methods to transition to the LOGGED_IN state.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.