Your app’s response to a send ride feedback intent.


class INSendRideFeedbackIntentResponse : INIntentResponse


An INSendRideFeedbackIntentResponse object contains your app’s response to a request for feedback about a ride. After creating the response object, specify any feedback using the properties of this object. Siri and Maps display your response information to the user during the confirmation phase.

You create an INSendRideFeedbackIntentResponse object in the confirm(sendRideFeedback:completion:) and confirm(sendRideFeedback:completion:) methods of your handler object. For more information about implementing your handler object, see INSendRideFeedbackIntentHandling.


Initializing the Response Object

init(code: INSendRideFeedbackIntentResponseCode, userActivity: NSUserActivity?)

Initializes the response object with the specified code and user activity object.

Getting the Response Code

var code: INSendRideFeedbackIntentResponseCode

The code indicating whether your app successfully handled the intent.

enum INSendRideFeedbackIntentResponseCode

Constants indicating the state of the response.


Inherits From

Conforms To

See Also

Send Ride Feedback

protocol INSendRideFeedbackIntentHandling

The handler interface for sending ride feedback to your service.

class INSendRideFeedbackIntent

An intent indicating that the user provided feedback for a completed ride.