Share via


IINEndWorkoutIntentHandling Interface

Definition

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

[Foundation.Protocol(Name="INEndWorkoutIntentHandling", WrapperType=typeof(Intents.INEndWorkoutIntentHandlingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleEndWorkout", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V123) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INEndWorkoutIntent), typeof(System.Action<Intents.INEndWorkoutIntentResponse>) }, Selector="handleEndWorkout:completion:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Confirm", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V123) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INEndWorkoutIntent), typeof(System.Action<Intents.INEndWorkoutIntentResponse>) }, Selector="confirmEndWorkout:completion:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ResolveWorkoutName", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V80) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INEndWorkoutIntent), typeof(System.Action<Intents.INSpeakableStringResolutionResult>) }, Selector="resolveWorkoutNameForEndWorkout:withCompletion:")]
public interface IINEndWorkoutIntentHandling : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="INEndWorkoutIntentHandling", WrapperType=typeof(Intents.INEndWorkoutIntentHandlingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleEndWorkout", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V109) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INEndWorkoutIntent), typeof(System.Action<Intents.INEndWorkoutIntentResponse>) }, Selector="handleEndWorkout:completion:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Confirm", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V109) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INEndWorkoutIntent), typeof(System.Action<Intents.INEndWorkoutIntentResponse>) }, Selector="confirmEndWorkout:completion:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ResolveWorkoutName", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V66) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INEndWorkoutIntent), typeof(System.Action<Intents.INSpeakableStringResolutionResult>) }, Selector="resolveWorkoutNameForEndWorkout:withCompletion:")]
public interface IINEndWorkoutIntentHandling : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="INEndWorkoutIntentHandling", WrapperType=typeof(Intents.INEndWorkoutIntentHandlingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleEndWorkout", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V123) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INEndWorkoutIntent), typeof(System.Action<Intents.INEndWorkoutIntentResponse>) }, Selector="handleEndWorkout:completion:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Confirm", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V123) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INEndWorkoutIntent), typeof(System.Action<Intents.INEndWorkoutIntentResponse>) }, Selector="confirmEndWorkout:completion:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ResolveWorkoutName", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V80) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INEndWorkoutIntent), typeof(System.Action<Intents.INSpeakableStringResolutionResult>) }, Selector="resolveWorkoutNameForEndWorkout:withCompletion:")>]
type IINEndWorkoutIntentHandling = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="INEndWorkoutIntentHandling", WrapperType=typeof(Intents.INEndWorkoutIntentHandlingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleEndWorkout", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V109) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INEndWorkoutIntent), typeof(System.Action<Intents.INEndWorkoutIntentResponse>) }, Selector="handleEndWorkout:completion:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Confirm", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V109) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INEndWorkoutIntent), typeof(System.Action<Intents.INEndWorkoutIntentResponse>) }, Selector="confirmEndWorkout:completion:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ResolveWorkoutName", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V66) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INEndWorkoutIntent), typeof(System.Action<Intents.INSpeakableStringResolutionResult>) }, Selector="resolveWorkoutNameForEndWorkout:withCompletion:")>]
type IINEndWorkoutIntentHandling = 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(INEndWorkoutIntent, Action<INEndWorkoutIntentResponse>)

Developers may override this method to customize the confirmation of the end of a workout.

HandleEndWorkout(INEndWorkoutIntent, Action<INEndWorkoutIntentResponse>)

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

ResolveWorkoutName(INEndWorkoutIntent, Action<INSpeakableStringResolutionResult>)

Developers can override this method to customize validation of the workout name.

Extension Methods

Name Description
Confirm(IINEndWorkoutIntentHandling, INEndWorkoutIntent, Action<INEndWorkoutIntentResponse>)

Developers may override this method to customize the confirmation of the end of a workout.

ResolveWorkoutName(IINEndWorkoutIntentHandling, INEndWorkoutIntent, Action<INSpeakableStringResolutionResult>)

Developers can override this method to customize validation of the workout name.

GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to