Edit

Bagikan melalui


IINCancelWorkoutIntentHandling Interface

Definition

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

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

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleCancelWorkout(INCancelWorkoutIntent, Action<INCancelWorkoutIntentResponse>)

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

Extension Methods

ConfirmCancelWorkout(IINCancelWorkoutIntentHandling, INCancelWorkoutIntent, Action<INCancelWorkoutIntentResponse>)

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

ResolveWorkoutName(IINCancelWorkoutIntentHandling, INCancelWorkoutIntent, Action<INSpeakableStringResolutionResult>)

Developers can call this method to customize the resolution of the workout name.

Applies to