INCarPlayDomainHandling
An interface for adopting all of the protocols in the CarPlay domain.
Declaration
protocol INCarPlayDomainHandling : INSaveProfileInCarIntentHandling, INSetAudioSourceInCarIntentHandling, INSetClimateSettingsInCarIntentHandling, INSetDefrosterSettingsInCarIntentHandling, INSetProfileInCarIntentHandling, INSetSeatSettingsInCarIntentHandlingOverview
The INCarPlayDomainHandling protocol is a convenience protocol that adopts all of the protocols used to handle CarPlay-related intents. When your app adopts all of the protocols associated with CarPlay, you can adopt this one protocol instead of adopting the INSetAudioSourceInCarIntentHandling, INSetClimateSettingsInCarIntentHandling, INSetDefrosterSettingsInCarIntentHandling, INSetSeatSettingsInCarIntentHandling, INSetProfileInCarIntentHandling, and INSaveProfileInCarIntentHandling protocols separately.
An object that adopts this protocol must be able to respond to the following intents:
INSetAudioSourceInCarIntent, a request to change the audio source.
INSetClimateSettingsInCarIntent, a request to change the climate control settings.
INSetDefrosterSettingsInCarIntent, a request to change the defroster settings.
INSetSeatSettingsInCarIntent, a request to change the seat temperature settings.
INSetProfileInCarIntent, a request to configure the car with the specified profile information.
INSaveProfileInCarIntent, a request to save the current settings to a designated profile.
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.