Android
Last updated
Last updated
This document refers to deprecated parts of the platform and has been left intact to help customers with legacy integrations. In order to access the latest platform features and documentation, please go to https://docs.sentiance.com.
Initializing the SDK is done by calling the method and passing an object. now expects a notification as the 3rd parameter. enableForeground(notification)
is no longer available for this purpose. The SDK will show a notification depending on the OS version, targeted API level, and remote app configuration.
The stopAfter(seconds)
method is no longer available.
User metadata methods no longer accept MetadataCallback
as a 3rd parameter. Adding and removing metadata is now done asynchronously via the payload submission system.
Registering external events is no longer available.
All callback and listener methods are now executed on the application's main thread. If you perform any long running or network operations directly in the callbacks, please take care to move them to a background thread instead.
getWiFiLastSeenTimestamp()
is no longer available.
`` and methods now require and parameters respectively.
The SDK no longer returns a Trip
object when a trip is stopped. The method of no longer returns a Trip
object. Similarly, the onTripStopped()
method of no longer exists. This interface now provides an and methods.
The method now expects a parameter of type .
The 's Location parameter is now @Nullable
.