Edytuj

Udostępnij za pośrednictwem


IINWorkoutsDomainHandling Interface

Definition

Interface combining several interfaces related to various workout-related intents.

[Foundation.Protocol(Name="INWorkoutsDomainHandling", WrapperType=typeof(Intents.INWorkoutsDomainHandlingWrapper))]
[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 IINWorkoutsDomainHandling : IDisposable, Intents.IINCancelWorkoutIntentHandling, Intents.IINEndWorkoutIntentHandling, Intents.IINPauseWorkoutIntentHandling, Intents.IINResumeWorkoutIntentHandling, Intents.IINStartWorkoutIntentHandling
type IINWorkoutsDomainHandling = interface
    interface INativeObject
    interface IDisposable
    interface IINCancelWorkoutIntentHandling
    interface IINEndWorkoutIntentHandling
    interface IINPauseWorkoutIntentHandling
    interface IINResumeWorkoutIntentHandling
    interface IINStartWorkoutIntentHandling
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.

(Inherited from IINCancelWorkoutIntentHandling)
HandleEndWorkout(INEndWorkoutIntent, Action<INEndWorkoutIntentResponse>)

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

(Inherited from IINEndWorkoutIntentHandling)
HandlePauseWorkout(INPauseWorkoutIntent, Action<INPauseWorkoutIntentResponse>)

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

(Inherited from IINPauseWorkoutIntentHandling)
HandleResumeWorkout(INResumeWorkoutIntent, Action<INResumeWorkoutIntentResponse>)

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

(Inherited from IINResumeWorkoutIntentHandling)
HandleStartWorkout(INStartWorkoutIntent, Action<INStartWorkoutIntentResponse>)

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

(Inherited from IINStartWorkoutIntentHandling)

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.

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.

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.

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.

ConfirmStartWorkout(IINStartWorkoutIntentHandling, INStartWorkoutIntent, Action<INStartWorkoutIntentResponse>)

Developers may implement this method to customize a workout's starting confirmation.

ResolveGoalValue(IINStartWorkoutIntentHandling, INStartWorkoutIntent, Action<INDoubleResolutionResult>)

Developers may implement this method to customize the resolution of a workout goal.

ResolveIsOpenEnded(IINStartWorkoutIntentHandling, INStartWorkoutIntent, Action<INBooleanResolutionResult>)

Developers may implement this method to customize the determination of whether a workout is open-ended.

ResolveWorkoutGoalUnitType(IINStartWorkoutIntentHandling, INStartWorkoutIntent, Action<INWorkoutGoalUnitTypeResolutionResult>)

Developers may implement this method to customize the resolution of the type of the workout goal.

ResolveWorkoutLocationType(IINStartWorkoutIntentHandling, INStartWorkoutIntent, Action<INWorkoutLocationTypeResolutionResult>)

Developers may implement this method to customize the resolution of the workout location.

ResolveWorkoutName(IINStartWorkoutIntentHandling, INStartWorkoutIntent, Action<INSpeakableStringResolutionResult>)

Developers can call this method to trigger validation of the workout name.

Applies to