This class exposes the status of the Sentiance SDK. You can get an instance of this object in two ways.
A synthesis of the following fields, indicating whether the conditions are suitable for the SDK to run its detections:
Whether the user is enabled on the Sentiance Platform. By default, all users are enabled on the Sentiance Platform. A user may get disabled during creation if, for example, the device is a tablet and the same user already exists on a phone. Sentiance can also disable users selectively under certain conditions (e.g. due to a misbehaving SDK).An enabled user is required to do detections.
Whether the activity recognition permission has been granted.
Whether the device is in airplane mode.Airplane mode must be disabled to do detections.
Whether location information is available.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.
Whether the device has an accelerometer.
Whether the device has a gyroscope.
Whether the device has a GPS.A GPS is required to do detections.
Whether Google Play Services is missing.Google Play Services is required to do detections.
On some devices, battery optimization can have a negative impact on apps running in the background. This is due to OEM specific customizations of Android's battery optimization feature. As such, disabling battery optimization is generally recommended for quality detections, if possible.
Whether battery saving is enabled on the device.When battery saving is enabled, it can have a negative impact on apps running in the background. As a result, SDK detection quality may be impacted.
Whether scheduling exact alarms is permitted. This is normally permitted, unless the user has manually revoked the permission from the device settings. When the permission is not granted, it can have a negative impact on the detection quality.
Sentiance assigns a limited quota for the SDK to utilized over a period 30 days (sliding window). Once the quota is exceeded, data submission over WiFi stops. The default quota is 2048 MB, but is configurable by Sentiance.
Sentiance assigns a limited quota for the SDK to utilized over a period of 30 days (sliding window). Once the quota is exceeded, data submission over mobile data stops. The default quota is 250 MB, but is configurable by Sentiance.
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.