Contents

INStartWorkoutIntentResponse

Your app’s response to a start workout intent.

Declaration

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.

Topics

Initializing the Response Object

Getting the Response Code

See Also

Start a Workout