Identifying information about a driver of a ride service.
SDKs
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.2+
Framework
- Intents
Declaration
class INRideDriver : INPerson
Overview
An INRide
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 INRide
object and assign it to the driver
property of a INRide
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
.