Läs på engelska Redigera

Dela via


IINWorkoutsDomainHandling Interface

Definition

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

C#
[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
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

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

Produkt Versioner
Xamarin iOS SDK 12