Поделиться через


IINRequestRideIntentHandling.HandleRequestRide Метод

Определение

Разработчики должны переопределить этот метод и вызвать T:System.Action'1 с INRequestRideIntentResponse соответствующим .INRequestRideIntentintent

[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>

Метод завершения, который должен вызываться переопределением.

Атрибуты

Применяется к