INResumeWorkoutIntent
INResumeWorkoutIntent
INResumeWorkoutIntent Class of Intents A request to resume a paused workout.
class INResumeWorkoutIntentOverview
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 //com.apple.documentation/documentation/Foundation/NSUserActivity object your app must then use to resume the workout.