public class UserActivity
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UserActivity.City
Represents a city by it's centered latitude and longitude.
|
| Constructor and Description |
|---|
UserActivity() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCurrencyCode()
The currency code of the fare.
|
float |
getDistance()
Length of activity in miles.
|
long |
getEndTime()
Unix timestamp of activity end time.
|
java.lang.Float |
getFare()
The fare of the trip.
|
java.lang.String |
getProductId()
Unique identifier representing a specific product for a given latitude & longitude.
|
long |
getRequestTime()
Unix timestamp of activity request time.
|
java.lang.String |
getRideId()
The unique ID for a ride.
|
UserActivity.City |
getStartCity()
The city, represented by the center latitude and longitude, of the pickup location.
|
long |
getStartTime()
Unix timestamp of activity start time.
|
java.lang.String |
getStatus()
Status of the activity.
|
public java.lang.String getRideId()
public java.lang.String getStatus()
public float getDistance()
public long getRequestTime()
public long getStartTime()
public long getEndTime()
@Nullable public java.lang.String getProductId()
@Nullable public UserActivity.City getStartCity()
null if your application is not whitelisted for this information.@Nullable public java.lang.Float getFare()
null if your application is not whitelisted for this
information.@Nullable public java.lang.String getCurrencyCode()
null if your application is not whitelisted for
this information.