IINCancelRideIntentHandling.HandleCancelRide Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Developers must override this method and invoke the Action<T> with an INCancelRideIntentResponse appropriate to the INCancelRideIntent intent.
[Foundation.Export("handleCancelRide:completion:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void HandleCancelRide(Intents.INCancelRideIntent intent, Action<Intents.INCancelRideIntentResponse> completion);
[<Foundation.Export("handleCancelRide:completion:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member HandleCancelRide : Intents.INCancelRideIntent * Action<Intents.INCancelRideIntentResponse> -> unit
override this.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