Contents

INCancelWorkoutIntentResponse

Your app’s response to a cancel workout intent.

Declaration

class INCancelWorkoutIntentResponse

Overview

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

Topics

Initializing the Response Object

Getting the Response Code

See Also

Cancel a Workout