INStartWorkoutIntentResponse

INStartWorkoutIntentResponse

INStartWorkoutIntentResponse Class of Intents Your app’s response to a start workout intent.

class INStartWorkoutIntentResponse

Overview

Use an INStartWorkoutIntentResponse object to specify whether your app is able to start a workout. The response object contains only the response code that indicates whether to launch your app or whether there was a problem.

You create an INStartWorkoutIntentResponse object in the confirm(intent:completion:)) and handle(intent:completion:)) methods of your start workout handler object. For more information about implementing your handler object, see INStartWorkoutIntentHandling.