INRideDriver

INRideDriver

INRideDriver Class of Intents Identifying information about a driver of a ride service.

class INRideDriver

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.