Package-level declarations

Types

Link copied to clipboard
open class BDAuthenticationError(val reason: String, val isFatal: Boolean = true) : BDError

Authentication error - Invalid ProjectId/ Global config not valid/ Access Denied

Link copied to clipboard
data class BDGeoTriggerError(val reason: String, val isFatal: Boolean = false) : BDError

Geo-trigger error - Represents Errors while starting or stopping geo-trigger

Link copied to clipboard
class BDNetworkError(val reason: String?, val isFatal: Boolean) : BDError

Network error refers to the internet connectivity problem

Link copied to clipboard
class BDPersistenceError(val reason: String, val isFatal: Boolean = true) : BDError

Persistence error - Represents Errors while accessing DB

Link copied to clipboard
class BDRemoteConfigError(val reason: String, val isFatal: Boolean = false) : BDError

This is generated for any error occurred while accessing/downloading RemoteConfig for the project. Remote config is downloaded as a part of Initialization of the SDK

Link copied to clipboard
class BDTempoError(val reason: String, val isFatal: Boolean = false) : BDError

Tempo error - Represents Errors while starting or stopping Tempo

Link copied to clipboard

Custom Event Metadata is not set properly. Maximum allowed is Twenty data items.

Link copied to clipboard

DiskFullError is generated when the database cannot be initialised due to a disk full exception.

Link copied to clipboard

ForegroundNotification is not set. SDK will not trigger in background if running on Android O.

Link copied to clipboard

InvalidProjectIdError is generated when the Invalid ProjectId is passed in initialise

Link copied to clipboard

This error tells the client application that the permission to use location services are not granted.

Link copied to clipboard
class LocationServiceNotEnabledError(val reason: String = DEFAULT_REASON, val isFatal: Boolean) : BDError

This error tells the client application that the location service is not turned on which is required by BlueDot Service

Link copied to clipboard
class RuleDownloadError(val reason: String?) : BDError

Rule set download error

Link copied to clipboard

TempoAlreadyInProgressError is generated when already Tempo tracking is ongoing and a new startTempoTracking request is called

Link copied to clipboard

TempoInvalidDestinationIdError is generated when the destinationId is not valid