Instance Property

rideIdentifier

The unique string that you use to identify the ride.

Declaration

var rideIdentifier: String? { get set }

Discussion

Use this property to store an app-specific identifier for the ride. Use this string to identify the ride in your own data structures. This string is not displayed to the user.

After the user books a ride, any status updates related to that ride must include a status object with the same identifier as the originally booked ride. Returning a status object with a different identifier causes Siri and Maps to change their UI, under the assumption that the user completed or canceled the previous ride.