IINPauseWorkoutIntentHandling 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 defining handler method that, when implemented, must call completion with an INPauseWorkoutIntentResponse appropriate to arg.
[Foundation.Protocol(Name="INPauseWorkoutIntentHandling", WrapperType=typeof(Intents.INPauseWorkoutIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINPauseWorkoutIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINPauseWorkoutIntentHandling = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
| HandlePauseWorkout(INPauseWorkoutIntent, Action<INPauseWorkoutIntentResponse>) |
Developers must override this method and invoke the T:System.Action`1 with an INPauseWorkoutIntentResponse appropriate to the INPauseWorkoutIntent |
Extension Methods
| ConfirmPauseWorkout(IINPauseWorkoutIntentHandling, INPauseWorkoutIntent, Action<INPauseWorkoutIntentResponse>) |
Developers may override this method to customize the confirmation of the pausing of the workout. |
| ResolveWorkoutName(IINPauseWorkoutIntentHandling, INPauseWorkoutIntent, Action<INSpeakableStringResolutionResult>) |
Developers can call this method to trigger validation of the workout name. |