Enumeration

INRidePhase

Constants indicating the current ride status.

Declaration

enum INRidePhase : Int

Topics

Constants

case unknown

The state of the ride is unknown.

case received

You have received the booking request and are processing it, but have not yet confirmed the request or communicated the pickup information to the driver of the vehicle.

case confirmed

You have booked the ride and communicated the pickup information to the driver of the vehicle.

case ongoing

The driver has picked up the user’s party and is en route to the destination.

case completed

The driver has transited through all of the waypoints and is now at the ride’s destination.

case approachingPickup

The driver is approaching the pickup location.

case pickup

The driver is at the pickup location.

See Also

Specifying the Ride Status

var phase: INRidePhase

The current status of the ride.

var completionStatus: INRideCompletionStatus?

Information about how the ride ended.