IINStartWorkoutIntentHandling.Confirm 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 a workout's starting confirmation.
[Foundation.Export("confirmStartWorkout:completion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Confirm(Intents.INStartWorkoutIntent intent, Action<Intents.INStartWorkoutIntentResponse> completion);
[<Foundation.Export("confirmStartWorkout:completion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Confirm : Intents.INStartWorkoutIntent * Action<Intents.INStartWorkoutIntentResponse> -> unit
override this.Confirm : Intents.INStartWorkoutIntent * Action<Intents.INStartWorkoutIntentResponse> -> unit
Parameters
- intent
- INStartWorkoutIntent
Specifies the user's intention.
- completion
- Action<INStartWorkoutIntentResponse>
Completion method that must be called by the override.
- Attributes