SENTSDKStatus
SENTSDKInitState
Indicates the SDK initialization status.
SENTNotInitialized
The SDK has not been initialized or a previous initialization attempt has failed. To initialize the SDK, call [[SENTSDK sharedInstance] initWithConfig:(SENTConfig *) success:^(void)success failure:^(SENTInitIssue issue)failure]
SENTInitInProgress
Initialization is in progress. When it completes, the SDK will call success() and failure() if something went wrong.
SENTInitialized
The SDK has been initialized.
SENTResetting
The SDK reset is in progress. All public method calls will be ignored and callbacks will not be triggered during this state.
SENTQuotaStatus
Quota status applicable to disk and network usage.
SENTQuotaStatusOK
The quota is below the threshold.
SENTQuotaStatusWarning
More than 90 percent of the quota is consumed.
SENTQuotaStatusExceeded
The quota is fully consumed.
SENTResetFailureReason
Indicates the failure reason of the latest reset attempt.
SENTResetFailureReasonInitInProgress
SDK initialization is in progress.
SENTResetFailureReasonResetting
Another SDK reset is in progress.
canDetect
True only if detections are possible (i.e. there are no issues blocking detection)
isRemoteEnabled
True if kill-switch is not enabled
locationPermission
CanDetect is true, if conditions for the location permissions are met.
isAccelPresent
True if device has an accelerometer
isPreciseLocationAuthorizationGranted
True if location accuracy authorization permission is granted. If false, canDetect will be false.
isDeviceLowPowerModeEnabled
Returns whether low power mode is enabled or not.
isLocationAvailable
The SDK's location availability state.
Generally, when the device location setting is in an acceptable state, and all required location related permissions are granted, this property will be true. However, under certain conditions, location data may still be unavailable, in which case this property will be false. Once location data becomes available again, the SDK will automatically update this property and resume detections if possible.
Note that it can take up to 30 seconds for a change in the device's location settings or permissions to take effect on SDK's location availability state.
isMotionActivityPermissionGranted
Returns whether motion activity permission is granted or not.
isGyroPresent
True if device has a gyroscope
isGpsPresent
True if device has a GPS unit
wifiQuotaStatus
Indicates WiFi quota state.
Sentiance assigns a limited quota for the SDK to utilized over a period of 1 month. The quota usage is reset on the first day of each month. Once the quota is exceeded, data submission over WiFi stops. The default quota is 2048 MB, but is configurable by Sentiance.
mobileQuotaStatus
Indicates mobile data quota state.
Sentiance assigns a limited quota for the SDK to utilized over a period of 1 month. The quota usage is reset on the first day of each month. Once the quota is exceeded, data submission over mobile data stops. The default quota is 250 MB, but is configurable by Sentiance.
diskQuotaStatus
Indicates disk quota state.
Sentiance assigns a limited quota for the SDK to utilized. Once the quota is exceeded, SDK detections stop. The default quota is 128 MB, but is configurable by Sentiance.
userExists
True if a user exists on the device.
detectionStatus
Indicates whenever the detection is enabled and start or the status of the SDK.
backgroundRefreshStatus
Get background refresh status for the background processing and fetch capabilities.
startStatus
Indicates the status of the SDK
SENTStartStatusNotStarted
SDK detections were not started (i.e. start: was never called), or are stopped (by explicitly calling stop).
SENTStartStatusPending
The enclosing app requested the start of SDK detections, but it could not be completed (e.g. because the user is not enabled on the Sentiance API, permissions are not granted, or location settings are invalid). When the underlying issues are resolved, the detections will start automatically.
SENTStartStatusStarted
The SDK detections are successfully started after the enclosing app has called start:
SENTStartStatusExpired
The SDK start request expired on the date specified when calling startWithStopDate. Detections are no longer running.
isEqualToSDKStatus
Returns a Boolean value that indicates whether a given SDKStatus is equal to the receiver using item by item comparsion.
Last updated