Share via


IINRequestRideIntentHandling.HandleRequestRide Method

Definition

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

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

Parameters

intent
INRequestRideIntent

Specifies the user's intention.

completion
Action<INRequestRideIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to