Share via


IINResumeWorkoutIntentHandling.HandleResumeWorkout Method

Definition

Developers must override this method and invoke the Action<T> with an INResumeWorkoutIntentResponse appropriate to the INResumeWorkoutIntent intent.

[Foundation.Export("handleResumeWorkout:completion:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void HandleResumeWorkout(Intents.INResumeWorkoutIntent intent, Action<Intents.INResumeWorkoutIntentResponse> completion);
[<Foundation.Export("handleResumeWorkout:completion:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member HandleResumeWorkout : Intents.INResumeWorkoutIntent * Action<Intents.INResumeWorkoutIntentResponse> -> unit
override this.HandleResumeWorkout : 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