Share via


IINStartWorkoutIntentHandling.ResolveGoalValue Method

Definition

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

[Foundation.Export("resolveGoalValueForStartWorkout:withCompletion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ResolveGoalValue(Intents.INStartWorkoutIntent intent, Action<Intents.INDoubleResolutionResult> completion);
[<Foundation.Export("resolveGoalValueForStartWorkout:withCompletion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ResolveGoalValue : Intents.INStartWorkoutIntent * Action<Intents.INDoubleResolutionResult> -> unit
override this.ResolveGoalValue : Intents.INStartWorkoutIntent * Action<Intents.INDoubleResolutionResult> -> unit

Parameters

intent
INStartWorkoutIntent

Specifies the user's intention.

completion
Action<INDoubleResolutionResult>

Completion method that must be called by the override.

Attributes

Applies to