INCancelRideIntentResponse

INCancelRideIntentResponse

INCancelRideIntentResponse Class of Intents Your app’s response to a cancel ride intent.

class INCancelRideIntentResponse

Overview

An INCancelRideIntentResponse object contains your app’s response to the cancellation of a ride. After creating the response object, specify any cancellation-related fees using the properties of this object. Siri and Maps display your response information to the user during the confirmation phase.

You create an INCancelRideIntentResponse object in the confirm(cancelRide:completion:)) and handle(cancelRide:completion:)) methods of your handler object. For more information about implementing your handler object, see INCancelRideIntentHandling.