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.
Represents a user activity detected by the SDK detections.
UserActivity API
getActivityType()
UserActivityTypegetActivityType()
Returns a UserActivityType enum representing the detected activity type.
getTripInfo()
@NullableTripInfogetTripInfo()
Returns a TripInfo object containing info about the ongoing trip. If the current activity is not a trip, this method will return null instead.
getStationaryInfo()
@NullableStationaryInfogetStationaryInfo()
Returns a StationaryInfo object containing info about the current stationary state. If the current activity is not a stationary, this method will return null instead.