IINRequestRideIntentHandling.HandleRequestRide 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
開發人員必須覆寫這個方法,並叫用適用于 的 INRequestRideIntentintent
T:System.Action'1INRequestRideIntentResponse 。
[Foundation.Export("handleRequestRide:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandleRequestRide (Intents.INRequestRideIntent intent, Action<Intents.INRequestRideIntentResponse> completion);
abstract member HandleRequestRide : Intents.INRequestRideIntent * Action<Intents.INRequestRideIntentResponse> -> unit
參數
- intent
- INRequestRideIntent
指定使用者的意圖。
- completion
- Action<INRequestRideIntentResponse>
覆寫必須呼叫的完成方法。
- 屬性