INResumeWorkoutIntentResponse

INResumeWorkoutIntentResponse

INResumeWorkoutIntentResponse Class of Intents Your app’s response to a resume workout intent.

class INResumeWorkoutIntentResponse

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 handle(intent:completion:)) and confirm(intent:completion:)) methods of your resume workout handler object. For more information about implementing your handler object, see INResumeWorkoutIntentHandling.