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