Quick Start
Get the MOVE SDK running
Last updated
Get the MOVE SDK running
Last updated
To be able to use the SDK, several permission need to be granted. This is described in .
Start by creating a SDK instance using the Move.Builder.
In order to successfully initialize and run the SDK, the user's must already be fetched (), and the required must be granted. If the provided is invalid, the SDK will not initialize and complete with .AuthInvalid
. If the required permissions are missing, the SDK will initialize but go into missing permission error .
The initialization of the MoveSdk
is asynchronous and you will be notified regarding state changes with the . The init can be called on the main thread or even on background threads. On successful initialization the changes to READY
.
Now that there is an instance of the SDK, the detection may be started with , which should lead to an RUNNING
state of the MoveSdk
.
The MoveSdk
is collecting data only when inRUNNING
state.