Contents

confirm(sendRideFeedback:completion:)

Confirms that you can apply the feedback to the specified ride.

Declaration

optional func confirm(sendRideFeedback sendRideFeedbackIntent: INSendRideFeedbackIntent, completion: @escaping  @Sendable (INSendRideFeedbackIntentResponse) -> Void)
optional func confirm(sendRideFeedback sendRideFeedbackIntent: INSendRideFeedbackIntent) async -> INSendRideFeedbackIntentResponse

Parameters

  • sendRideFeedbackIntent:

    The intent object containing details about the user’s request.

  • completion:

    The handler block to execute with your response. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

    response

    The Insendridefeedbackintentresponse object containing the status of whether your app is able to apply the feedback to the ride. This parameter must not be nil.

Discussion

Implement this method to confirm that you can apply the provided feedback to the ride. Use this method to create a response object with information about whether you can apply the feedback to the ride.