UserActivity
Represents a user activity detected by the SDK detections.
UserActivity API
getActivityType()
getActivityType()UserActivityType getActivityType()Returns a
UserActivityTypeenum representing the detected activity type.
getTripInfo()
getTripInfo()@Nullable TripInfo getTripInfo()Returns a
TripInfoobject containing info about the ongoing trip. If the current activity is not a trip, this method will returnnullinstead.
getStationaryInfo()
getStationaryInfo()@Nullable StationaryInfo getStationaryInfo()Returns a
StationaryInfoobject containing info about the current stationary state. If the current activity is not a stationary, this method will returnnullinstead.
Last updated