Initialization
API Interface / Android
Init
// your application class
override fun onCreate() {
// init the MOVE SDK
val moveSdk = MoveSdk.init(this)
super.onCreate()
// Example of adding some notifications, register listener
// and activate MOVE SDK features.
moveSdk.apply {
recognitionNotification(recognitionNotification)
tripNotification(drivingNotification)
sdkStateListener(sdkStateListener)
tripStateListener(tripStateListener)
authStateUpdateListener(authStateListener)
initializationListener(initListener)
setServiceErrorListener(errorListener)
setServiceWarningListener(warningListener)
initiateAssistanceCall(assistanceListener)
deviceDiscoveryListener(deviceDiscoveryListener)
consoleLogging(true)
}
// ... continue with Config ...
}Config
Setup
With MoveAuth
With authCode
Example of implementing the MoveAuthCallback:
Listeners
Initialization listener
Auth state update listener
MOVE SDK State listener
Trip state listener
Trip notifications
Walking notifications
Recognition notifications
Trip Metadata
Initialization
Last updated