Share via


IINCancelRideIntentHandling.HandleCancelRide Method

Definition

Developers must override this method and invoke the Action<T> with an INCancelRideIntentResponse appropriate to the INCancelRideIntent intent.

[Foundation.Export("handleCancelRide:completion:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void HandleCancelRide(Intents.INCancelRideIntent intent, Action<Intents.INCancelRideIntentResponse> completion);
[<Foundation.Export("handleCancelRide:completion:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member HandleCancelRide : Intents.INCancelRideIntent * Action<Intents.INCancelRideIntentResponse> -> unit
override this.HandleCancelRide : Intents.INCancelRideIntent * Action<Intents.INCancelRideIntentResponse> -> unit

Parameters

intent
INCancelRideIntent

Specifies the user's intention.

completion
Action<INCancelRideIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to