MoveSDKState
Represent the different SDK States.
MoveState
uninitialized
The SDK is not initialized.
ready
The SDK is initialized and ready to start services. Transited to this state on successful initialization and when services didn't start.
running
error(MoveStateError)
The SDK is in an error state. Transited to this state in cases of error.
MoveStateError
LocationPermissionMissing
Required location permission is missing.
MotionPermissionMissing
Required activity recognition permission is missing.
PhonePermissionMissing
Required phone permission is missing.
OverlayPermissionMissing
Required system alert window permission is missing
Note: In case of resolving an error, the SDK needs to be notified via resolved()
method of the state-error object.
When the SDK transits to an error state, it either will be a:
Last updated