IINStartWorkoutIntentHandling.ResolveGoalValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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