Protocol

INResumeWorkoutIntentHandling

The interface that handles requests to resume a workout.

Declaration

@protocol INResumeWorkoutIntentHandling

Overview

Use the methods of the INResumeWorkoutIntentHandling protocol to resolve, confirm, and handle requests to resume a paused workout that’s using your app. Adopt this protocol in an object of your Intents extension that’s capable of validating the workout name.

You don’t actually resume the workout from your Intents extension. When your handleResumeWorkout:completion: returns, Siri launches your app and passes it an NSUserActivity object that contains the intent object and your response. Your app uses the information in those objects to resume the workout.

Topics

Resolving the Intent Parameters

- resolveWorkoutNameForResumeWorkout:withCompletion:

Resolves the workout name that the user wants to resume.

Confirming the Response

- confirmResumeWorkout:completion:

Confirms that your app is able to resume the workout.

Handling the Intent

- handleResumeWorkout:completion:

Handles resuming the workout.

Required.

Relationships

Inherits From

See Also

Resume a Workout

INResumeWorkoutIntent

A request to resume a paused workout.

INResumeWorkoutIntentResponse

Your app’s response to a resume workout intent.