INRideDriver
Identifying information about a driver of a ride service.
Declaration
class INRideDriverOverview
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
init(phoneNumber:nameComponents:displayName:image:rating:)init(handle:displayName:image:rating:phoneNumber:)init(handle:nameComponents:image:rating:phoneNumber:)init(personHandle:nameComponents:displayName:image:rating:phoneNumber:)