The handler interface for starting a workout.
- iOS 10.0+
- watchOS 3.2+
Use the methods of the
INStart protocol to resolve, confirm, and handle requests to start a workout using your app. Adopt this protocol in an object of your Intents extension that is capable of validating the workout name or goals.
You do not actually start a workout from your Intents extension. When your
handle(intent: returns, Siri launches your app and passes it an
NSUser object containing the
INStart object and your response. Your app uses the information in those objects to start the workout.