Instance Property

rideOptionName

The name of the ride option selected by the user.

Declaration

@property(readonly, copy, nonatomic) INSpeakableString *rideOptionName;

Discussion

If the user requested a specific type of ride, this property specifies the name of that ride. Map this string to the INRideOption object that most closely represents your company’s available rides. You can then use the ride option information to select a vehicle to fulfill the ride request.

You can define the names of ride options using custom vocabulary terms. For information on how to configure ride option names in your global vocabulary file, see Registering Custom Vocabulary with SiriKit.

See Also

Getting the Ride Details

partySize

The number of passengers that the ride must accommodate.

pickupLocation

The user’s starting location.

scheduledPickupTime

The time at which to pick up the user.

dropOffLocation

The user’s destination.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software