Share via


IINRequestRideIntentHandling.Confirm Method

Definition

Developers may override this method to customize the confirmation of a ride request.

[Foundation.Export("confirmRequestRide:completion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Confirm(Intents.INRequestRideIntent intent, Action<Intents.INRequestRideIntentResponse> completion);
[<Foundation.Export("confirmRequestRide:completion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Confirm : Intents.INRequestRideIntent * Action<Intents.INRequestRideIntentResponse> -> unit
override this.Confirm : Intents.INRequestRideIntent * Action<Intents.INRequestRideIntentResponse> -> unit

Parameters

intent
INRequestRideIntent

Specifies the user's intention.

completion
Action<INRequestRideIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to