Confirms that your app is able to cancel the workout.
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.2+
The intent object that contains details about the user’s request. Use the information in this object to get the user-specified information.
The handler block to execute with your response. You must execute this handler while implementing this method. This handler has no return value and takes the following parameter:
INCancelobject that contains the status of whether your app is able to cancel the workout. This parameter must not be
Workout Intent Response
This method validates that your app is currently able to cancel the user’s workout. For example, verify that a workout is currently in progress and you can cancel it.