編輯

共用方式為


IINCancelRideIntentHandling.HandleCancelRide Method

Definition

Developers must override this method and invoke the T:System.Action`1 with an INCancelRideIntentResponse appropriate to the INCancelRideIntent intent.

[Foundation.Export("handleCancelRide:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandleCancelRide (Intents.INCancelRideIntent intent, Action<Intents.INCancelRideIntentResponse> completion);
abstract member 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