Journey

data class Journey(journeyId: String, val status: Journey.Status, val destinationVenue: Venue?, val destinationGeofence: Geofence?, val start: Long, val eta: Long) : FoursquareType, Parcelable

Represents a journey to a Foursquare venue or geofence

Constructors

Link copied to clipboard
fun Journey(journeyId: String, status: Journey.Status, destinationVenue: Venue?, destinationGeofence: Geofence?, start: Long, eta: Long)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

The current progress of a user during the course of a journey. {@link PENDING} {@link IN_PROGRESS} {@link APPROACHING} {@link ARRIVED} {@link COMPLETED} {@link CANCELED}

Properties

Link copied to clipboard

The geofence that is the current destination of this journey. This field will only be present if the destination of the journey is a geofence otherwise this field will be null. Once a journey is started, this field will never change.

Link copied to clipboard

The venue that is the current destination of this journey. This field will only be present if the destination of the journey is a venue otherwise this field will be null. Once a journey is started, this field will never change.

Link copied to clipboard
val eta: Long

The user's current estimated time of arrival at the destination. This field will be updated approximately once per minute.

Link copied to clipboard
val start: Long

The start time of the journey.

Link copied to clipboard

The status of this journey.