Share via


IINCancelRideIntentHandling Interface

Definition

Interface to resolve, confirm and handle Siri requests for the corresponding action.

[Foundation.Protocol(Name="INCancelRideIntentHandling", WrapperType=typeof(Intents.INCancelRideIntentHandlingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleCancelRide", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V106) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INCancelRideIntent), typeof(System.Action<Intents.INCancelRideIntentResponse>) }, Selector="handleCancelRide:completion:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Confirm", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V106) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INCancelRideIntent), typeof(System.Action<Intents.INCancelRideIntentResponse>) }, Selector="confirmCancelRide:completion:")]
public interface IINCancelRideIntentHandling : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="INCancelRideIntentHandling", WrapperType=typeof(Intents.INCancelRideIntentHandlingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleCancelRide", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V92) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INCancelRideIntent), typeof(System.Action<Intents.INCancelRideIntentResponse>) }, Selector="handleCancelRide:completion:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Confirm", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V92) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INCancelRideIntent), typeof(System.Action<Intents.INCancelRideIntentResponse>) }, Selector="confirmCancelRide:completion:")]
public interface IINCancelRideIntentHandling : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="INCancelRideIntentHandling", WrapperType=typeof(Intents.INCancelRideIntentHandlingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleCancelRide", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V106) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INCancelRideIntent), typeof(System.Action<Intents.INCancelRideIntentResponse>) }, Selector="handleCancelRide:completion:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Confirm", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V106) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INCancelRideIntent), typeof(System.Action<Intents.INCancelRideIntentResponse>) }, Selector="confirmCancelRide:completion:")>]
type IINCancelRideIntentHandling = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="INCancelRideIntentHandling", WrapperType=typeof(Intents.INCancelRideIntentHandlingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleCancelRide", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V92) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INCancelRideIntent), typeof(System.Action<Intents.INCancelRideIntentResponse>) }, Selector="handleCancelRide:completion:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Confirm", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V92) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INCancelRideIntent), typeof(System.Action<Intents.INCancelRideIntentResponse>) }, Selector="confirmCancelRide:completion:")>]
type IINCancelRideIntentHandling = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
Confirm(INCancelRideIntent, Action<INCancelRideIntentResponse>)
HandleCancelRide(INCancelRideIntent, Action<INCancelRideIntentResponse>)

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

Extension Methods

Name Description
Confirm(IINCancelRideIntentHandling, INCancelRideIntent, Action<INCancelRideIntentResponse>)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to