IINStartWorkoutIntentHandling.ResolveIsOpenEnded 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 determination of whether a workout is open-ended.
[Foundation.Export("resolveIsOpenEndedForStartWorkout:withCompletion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ResolveIsOpenEnded(Intents.INStartWorkoutIntent intent, Action<Intents.INBooleanResolutionResult> completion);
[<Foundation.Export("resolveIsOpenEndedForStartWorkout:withCompletion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ResolveIsOpenEnded : Intents.INStartWorkoutIntent * Action<Intents.INBooleanResolutionResult> -> unit
override this.ResolveIsOpenEnded : Intents.INStartWorkoutIntent * Action<Intents.INBooleanResolutionResult> -> unit
Parameters
- intent
- INStartWorkoutIntent
Specifies the user's intention.
- completion
- Action<INBooleanResolutionResult>
Completion method that must be called by the override.
- Attributes