Share via


INStartWorkoutIntentHandling_Extensions Class

Definition

Extension methods to the IINStartWorkoutIntentHandling interface to support all the methods from the INStartWorkoutIntentHandling protocol.

public static class INStartWorkoutIntentHandling_Extensions
type INStartWorkoutIntentHandling_Extensions = class
Inheritance
INStartWorkoutIntentHandling_Extensions

Remarks

The extension methods for IINStartWorkoutIntentHandling interface allow developers to treat instances of the interface as having all the optional methods of the original INStartWorkoutIntentHandling protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

Name Description
Confirm(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