Edit

Share via


IINEndWorkoutIntentHandling Interface

Definition

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

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

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleEndWorkout(INEndWorkoutIntent, Action<INEndWorkoutIntentResponse>)

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

Extension Methods

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

Applies to