Share via


IINStartWorkoutIntentHandling.Confirm Method

Definition

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

Applies to