Contents

INResumeWorkoutIntent

A request to resume a paused workout.

Declaration

class INResumeWorkoutIntent

Overview

SiriKit creates an INResumeWorkoutIntent object when the user asks to resume a currently paused workout. Resuming a workout resumes gathering workout data and counting that data toward the user’s current workout goal. Use this intent object to validate the workout parameters.

To handle this intent, the handler object in your Intents extension must adopt the INResumeWorkoutIntentHandling protocol. Your handler should confirm the request and create an INResumeWorkoutIntentResponse object that indicates it’s possible to resume the workout. For the successful handling of the intent, SiriKit launches your app and passes it an NSUserActivity object your app must then use to resume the workout.

Additional Intent Attributes

The following table lists additional attributes of this intent object:

Attribute

Description

Supported by

Siri Intents, Siri Suggestions

Always requires unlocked device

Yes

Topics

Creating the Intent Object

Specifying Workout Details

See Also

Resume a Workout