Edytuj

Udostępnij za pośrednictwem


INStartWorkoutIntentHandling_Extensions Class

Definition

Default implementation of optional methods of the IINStartWorkoutIntentHandling protocol.

public static class INStartWorkoutIntentHandling_Extensions
type INStartWorkoutIntentHandling_Extensions = class
Inheritance
INStartWorkoutIntentHandling_Extensions

Methods

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