Share via


IINCancelRideIntentHandling.HandleCancelRide 方法

定义

开发人员必须重写此方法,并使用 相应的 INCancelRideIntentintent调用 T:System.Action'1INCancelRideIntentResponse

[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

参数

intent
INCancelRideIntent

指定用户的意图。

completion
Action<INCancelRideIntentResponse>

必须由替代调用的完成方法。

属性

适用于