AndroidSdkStatus class
Properties
- canDetect → bool
-
A synthesis of multiple criteria indicating whether the conditions are suitable for the SDK to run its detections.
finalinherited
- canMonitorGeofences → bool
-
Whether the SDK can monitor geofences.
For iOS only, but was initially provided for both platforms.
finalinherited
- detectionStatus → DetectionStatus
-
The detection status of the SDK.
finalinherited
- diskQuotaStatus → QuotaStatus
-
The status of the disk quota. When this status is set to QuotaStatus.warning, detections may soon stop due to the lack of disk quota capacity.
Consider forcing the submission of pending SDK detections to free up some capacity - see SentianceCore.submitDetections.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAccelPresent → bool
-
Whether the device has an accelerometer.
finalinherited
- isActivityRecognitionPermGranted → bool
-
Whether the activity recognition permission has been granted.
finalinherited
- isAirplaneModeEnabled → bool
-
Whether the device is in airplane mode.
final
- isBackgroundProcessingRestricted → bool
-
Whether background processing is restricted for the application. This will be set to
falsefor devices running Oreo and lower.final - isBatteryOptimizationEnabled → bool
-
Whether battery optimization is enabled for the application.
final
- isBatterySavingEnabled → bool
-
Whether battery saving is enabled on the device.
finalinherited
- isGooglePlayServicesMissing → bool
-
Whether Google Play Services is missing. Google Play Services is required to do detections.
final
- isGpsPresent → bool
-
Whether the device has a GPS. A GPS is required to do detections.
finalinherited
- isGyroPresent → bool
-
Whether the device has a gyroscope.
finalinherited
- isLocationAvailable → bool
-
The SDK's location availability state.
finalinherited
- isPreciseLocationAuthorizationGranted → bool
-
Whether the user has granted precise location permission to the app. See here.
finalinherited
- isRemoteEnabled → bool
-
Whether the user is enabled on the Sentiance Cloud Platform. By default, all users are enabled on the Sentiance
Cloud 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).
finalinherited
- isSchedulingExactAlarmsPermitted → bool
-
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.
final
- locationPermission → LocationPermission
-
The location accessibility permission.
finalinherited
- locationSetting → LocationSetting
-
The location setting currently set in the device settings.
final
- mobileQuotaStatus → QuotaStatus
-
The status of the mobile network quota.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userExists → bool
-
Whether a Sentiance user exists on the device.
finalinherited
- wifiQuotaStatus → QuotaStatus
-
The status of the WiFi quota.
finalinherited
Methods
-
describeProps(
) → Map< String, Object?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited