INPauseWorkoutIntentResponse
INPauseWorkoutIntentResponse
INPauseWorkoutIntentResponse Class of Intents Your app’s response to a pause workout intent.
class INPauseWorkoutIntentResponseOverview
Use an INPauseWorkoutIntentResponse object to specify whether your app is able to pause 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 INPauseWorkoutIntentResponse object in the handle(intent:completion:)) and confirm(intent:completion:)) methods of your pause workout handler object. For more information about implementing your handler object, see INPauseWorkoutIntentHandling.