Instance Property

name

The name of this ride option.

Declaration

var name: String { get set }

Discussion

Siri displays this string to the user during the ride selection process and when confirming the ride. The init(name:estimatedPickupDate:) method sets this property at initialization time.

See Also

Specifying the Ride Information

var estimatedPickupDate: Date

The date and time when a ride of this type could be at the user’s location.

var disclaimerMessage: String?

A localized disclaimer message to display to the user before confirming the ride.

var availablePartySizeOptions: [INRidePartySizeOption]?

An array of size options for the user to choose from.

var availablePartySizeOptionsSelectionPrompt: String?

The localized text to display for selecting party size options.