Class

INResumeWorkoutIntentResponse

Your app’s response to a resume workout intent.

Declaration

@interface INResumeWorkoutIntentResponse : INIntentResponse

Overview

Use an INResumeWorkoutIntentResponse object to specify whether your app is able to resume a workout. The response object contains only the status code that indicates whether to launch your app or whether there was a problem.

You create an INResumeWorkoutIntentResponse object in the handleResumeWorkout:completion: and confirmResumeWorkout:completion: methods of your resume workout handler object. For more information about implementing your handler object, see INResumeWorkoutIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

Initializes the response object with the specified code and user activity object.

Getting the Response Code

code

The code that indicates whether you successfully handled the intent.

INResumeWorkoutIntentResponseCode

Constants that indicate the response state.

Relationships

Inherits From

See Also

Resume a Workout

INResumeWorkoutIntentHandling

The interface that handles requests to resume a workout.

INResumeWorkoutIntent

A request to resume a paused workout.