Class

INRideDriver

Identifying information about a driver of a ride service.

Declaration

@interface INRideDriver : INPerson

Overview

An INRideDriver object encapsulates information about a driver associated with your ride service. This object stores basic information about the driver, including the driver’s name, picture, and phone number. You create an INRideDriver object and assign it to the driver property of a INRideStatus object when the user books a ride or when you update the status of an existing ride. SiriKit displays the driver information to the user at appropriate times.

This class is a subclass of INPerson and contains properties that are relevant only for ride-booking services. For additional driver properties, see INPerson.

Topics

Initializing a Ride Driver Object

- initWithPhoneNumber:nameComponents:displayName:image:rating:

Initializes and returns a ride driver object using a set of name components and other driver information.

- initWithHandle:displayName:image:rating:phoneNumber:

Initializes and returns a ride driver object using a display name and other driver information.

Deprecated
- initWithHandle:nameComponents:image:rating:phoneNumber:

Initializes and returns a ride driver object using a set of name components and other driver information

Deprecated
- initWithPersonHandle:nameComponents:displayName:image:rating:phoneNumber:

Initializes and returns a ride driver object using a set of name components and other driver information.

Deprecated

Getting the Driver Information

rating

The driver’s current rating.

phoneNumber

The driver’s phone number.

Relationships

Inherits From

See Also

Data Objects

INRideOption

Details about a type of ride offered by your ride-booking service.

INRideStatus

The status of a ride booked through a ride-booking service.

INRideVehicle

A specific vehicle used by a ride-booking service.

INRideFareLineItem

A specific type of ride-related charge.

INRidePartySizeOption

The price of a ride involving the specified number of people.

INRideCompletionStatus

Additional details about whether a ride completed successfully or someone canceled the ride.

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