INStartWorkoutIntentHandling_Extensions.ResolveWorkoutName Method

Definition

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

public static void ResolveWorkoutName (this Intents.IINStartWorkoutIntentHandling This, Intents.INStartWorkoutIntent intent, Action<Intents.INSpeakableStringResolutionResult> completion);
static member ResolveWorkoutName : Intents.IINStartWorkoutIntentHandling * Intents.INStartWorkoutIntent * Action<Intents.INSpeakableStringResolutionResult> -> unit

Parameters

This
IINStartWorkoutIntentHandling

The instance on which this method operates.

intent
INStartWorkoutIntent

Specifies the user's intention.

completion
Action<INSpeakableStringResolutionResult>

Completion method that must be called by the override.

Applies to