Protocol

INWorkoutsDomainHandling

An interface for adopting all of the protocols in the workouts domain.

Declaration

protocol INWorkoutsDomainHandling

Overview

The INWorkoutsDomainHandling protocol is a convenience protocol that adopts all of the protocols used to handle workout-related intents. When your app adopts all of the protocols associated with workouts, you can adopt this one protocol instead of adopting the INStartWorkoutIntentHandling, INPauseWorkoutIntentHandling, INResumeWorkoutIntentHandling, INCancelWorkoutIntentHandling, and INEndWorkoutIntentHandling protocols separately.

An object that adopts this protocol must be able to respond to the following intents:

Your handler object must be prepared to resolve any parameters associated with these intents and to confirm and handle the requests. When confirming and handling a request, you provide the response object that matches the specified intent.