Share via


IINPauseWorkoutIntentHandling.Confirm Method

Definition

Developers may override this method to customize the confirmation of the pausing of the workout.

[Foundation.Export("confirmPauseWorkout:completion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Confirm(Intents.INPauseWorkoutIntent intent, Action<Intents.INPauseWorkoutIntentResponse> completion);
[<Foundation.Export("confirmPauseWorkout:completion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Confirm : Intents.INPauseWorkoutIntent * Action<Intents.INPauseWorkoutIntentResponse> -> unit
override this.Confirm : Intents.INPauseWorkoutIntent * Action<Intents.INPauseWorkoutIntentResponse> -> unit

Parameters

intent
INPauseWorkoutIntent

Specifies the user's intention.

completion
Action<INPauseWorkoutIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to