INEndWorkoutIntentResponse

INEndWorkoutIntentResponse

INEndWorkoutIntentResponse Class of Intents Your app’s response to an end workout intent.

class INEndWorkoutIntentResponse

Overview

Use an INEndWorkoutIntentResponse object to specify whether your app is able to end 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 INEndWorkoutIntentResponse object in the handle(intent:completion:)) and confirm(intent:completion:)) methods of your end workout handler object. For more information about implementing your handler object, see INEndWorkoutIntentHandling.