TrackingError

open class TrackingError

Various kind of errors, notifying about initialization failure reason. Generic TrackingError returned for all the reasons, except when more specific error is available. Also make sure to check isCritical to infer SDK behavior if circumstances, that led to error, changed.

Constructors

Link copied to clipboard
open fun TrackingError()
Link copied to clipboard
open fun TrackingError(code: Int)
Link copied to clipboard
open fun TrackingError(code: Int, message: String)

Functions

Link copied to clipboard
open fun isCritical(): Boolean
Link copied to clipboard
@NotNull
open fun toString(): String

Properties

Link copied to clipboard
val AUTHORIZATION_ERROR: Int
Your free trial ended or account was not renewed.
Link copied to clipboard
val code: Int
Code of tracking error from TrackingError.
Link copied to clipboard
val DATA_STORE_ERROR: Int
Database error while data saving.
Link copied to clipboard
val GPS_PROVIDER_DISABLED_ERROR: Int
Tracking won't start due to disabled gps.
Link copied to clipboard
val INVALID_PUBLISHABLE_KEY_ERROR: Int
Publishable key is invalid.
Link copied to clipboard
val message: String
Message of tracking error from.
Link copied to clipboard
val PERMISSION_DENIED_ERROR: Int
Tracking won't start due to denied (or absent) permission.
Link copied to clipboard
val UNKNOWN_ERROR: Int
An error that we couldn't recognize.
Link copied to clipboard
val UNKNOWN_NETWORK_ERROR: Int
Request error that we couldn't recognize.