Contents

INCancelRideIntentResponse

Your app’s response to a cancel ride intent.

Declaration

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.

Topics

Initializing the Response Object

Getting the Response Code

Specifying Cancellation Fees

See Also

Cancel Ride