IINResumeWorkoutIntentHandling.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 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