IINResumeWorkoutIntentHandling Interface

Definition

Interface defining handler method that, when implemented, must call completion with an INResumeWorkoutIntentResponse appropriate to arg.

[Foundation.Protocol(Name="INResumeWorkoutIntentHandling", WrapperType=typeof(Intents.INResumeWorkoutIntentHandlingWrapper))]
[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 IINResumeWorkoutIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINResumeWorkoutIntentHandling = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleResumeWorkout(INResumeWorkoutIntent, Action<INResumeWorkoutIntentResponse>)

Developers must override this method and invoke the T:System.Action`1 with an INResumeWorkoutIntentResponse appropriate to the INResumeWorkoutIntent intent.

Extension Methods

ConfirmResumeWorkout(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.

Applies to