INSendRideFeedbackIntent

INSendRideFeedbackIntent

INSendRideFeedbackIntent Class of Intents An intent indicating that the user provided feedback for a completed ride.

class INSendRideFeedbackIntent

Overview

When the user provides feedback for a completed ride, SiriKit sends an INSendRideFeedbackIntent object to your handler. SiriKit populates this intent object with the ride identifier and the feedback, including a possible driver rating and tip. Upon receiving this intent, validate the provided information and forward it along to your service. SiriKit guarantees that it provides at least one piece of feedback.

To handle this intent, the handler object in your Intents extension must adopt the INSendRideFeedbackIntentHandling protocol. Your handler should confirm the request and create an INSendRideFeedbackIntentResponse object with the status of the task.