Share via


IINResumeWorkoutIntentHandling.Confirm Method

Definition

Developers may override this method to customize the confirmation that the workout should resume.

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

Parameters

intent
INResumeWorkoutIntent

Specifies the user's intention.

completion
Action<INResumeWorkoutIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to