IINResumeWorkoutIntentHandling Interface
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.
Interface to resolve, confirm and handle Siri requests for the corresponding action.
[Foundation.Protocol(Name="INResumeWorkoutIntentHandling", WrapperType=typeof(Intents.INResumeWorkoutIntentHandlingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleResumeWorkout", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V169) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INResumeWorkoutIntent), typeof(System.Action<Intents.INResumeWorkoutIntentResponse>) }, Selector="handleResumeWorkout:completion:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Confirm", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V169) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INResumeWorkoutIntent), typeof(System.Action<Intents.INResumeWorkoutIntentResponse>) }, Selector="confirmResumeWorkout: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.INResumeWorkoutIntent), typeof(System.Action<Intents.INSpeakableStringResolutionResult>) }, Selector="resolveWorkoutNameForResumeWorkout:withCompletion:")]
public interface IINResumeWorkoutIntentHandling : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="INResumeWorkoutIntentHandling", WrapperType=typeof(Intents.INResumeWorkoutIntentHandlingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleResumeWorkout", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V154) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INResumeWorkoutIntent), typeof(System.Action<Intents.INResumeWorkoutIntentResponse>) }, Selector="handleResumeWorkout:completion:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Confirm", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V154) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INResumeWorkoutIntent), typeof(System.Action<Intents.INResumeWorkoutIntentResponse>) }, Selector="confirmResumeWorkout: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.INResumeWorkoutIntent), typeof(System.Action<Intents.INSpeakableStringResolutionResult>) }, Selector="resolveWorkoutNameForResumeWorkout:withCompletion:")]
public interface IINResumeWorkoutIntentHandling : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="INResumeWorkoutIntentHandling", WrapperType=typeof(Intents.INResumeWorkoutIntentHandlingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleResumeWorkout", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V169) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INResumeWorkoutIntent), typeof(System.Action<Intents.INResumeWorkoutIntentResponse>) }, Selector="handleResumeWorkout:completion:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Confirm", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V169) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INResumeWorkoutIntent), typeof(System.Action<Intents.INResumeWorkoutIntentResponse>) }, Selector="confirmResumeWorkout: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.INResumeWorkoutIntent), typeof(System.Action<Intents.INSpeakableStringResolutionResult>) }, Selector="resolveWorkoutNameForResumeWorkout:withCompletion:")>]
type IINResumeWorkoutIntentHandling = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(Name="INResumeWorkoutIntentHandling", WrapperType=typeof(Intents.INResumeWorkoutIntentHandlingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleResumeWorkout", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V154) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INResumeWorkoutIntent), typeof(System.Action<Intents.INResumeWorkoutIntentResponse>) }, Selector="handleResumeWorkout:completion:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Confirm", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V154) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Intents.INResumeWorkoutIntent), typeof(System.Action<Intents.INResumeWorkoutIntentResponse>) }, Selector="confirmResumeWorkout: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.INResumeWorkoutIntent), typeof(System.Action<Intents.INSpeakableStringResolutionResult>) }, Selector="resolveWorkoutNameForResumeWorkout:withCompletion:")>]
type IINResumeWorkoutIntentHandling = 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(INResumeWorkoutIntent, Action<INResumeWorkoutIntentResponse>) |
Developers may override this method to customize the confirmation that the workout should resume. |
| HandleResumeWorkout(INResumeWorkoutIntent, Action<INResumeWorkoutIntentResponse>) |
Developers must override this method and invoke the Action<T> with an INResumeWorkoutIntentResponse appropriate to the INResumeWorkoutIntent |
| ResolveWorkoutName(INResumeWorkoutIntent, Action<INSpeakableStringResolutionResult>) |
Developers can call this method to trigger validation of the workout name. |
Extension Methods
| Name | Description |
|---|---|
| Confirm(IINResumeWorkoutIntentHandling, INResumeWorkoutIntent, Action<INResumeWorkoutIntentResponse>) |
Developers may override this method to customize the confirmation that the workout should resume. |
| ResolveWorkoutName(IINResumeWorkoutIntentHandling, INResumeWorkoutIntent, Action<INSpeakableStringResolutionResult>) |
Developers can call this method to trigger validation of the workout name. |
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |