INCarCommandsDomainHandling
An interface for adopting all the handling protocols in the car commands domain.
Declaration
protocol INCarCommandsDomainHandling : INActivateCarSignalIntentHandling, INGetCarLockStatusIntentHandling, INGetCarPowerLevelStatusIntentHandling, INSetCarLockStatusIntentHandlingOverview
The INCarCommandsDomainHandling protocol adopts all of the protocols used to handle car command intents. You can adopt this one protocol instead of adopting the INActivateCarSignalIntentHandling, INGetCarPowerLevelStatusIntentHandling, INGetCarLockStatusIntentHandling, and INSetCarLockStatusIntentHandling protocols separately.
An object that adopts this protocol must respond to the following intents:
INActivateCarSignalIntent, a request to activate an audible or visual signal from the car.
INGetCarPowerLevelStatusIntent, a request for the current charge percentage remaining (for electric cars), fuel percentage remaining (for fuel-driven cars), or distance remaining given the car’s current charge or fuel.
INGetCarLockStatusIntent, a request for the current status of the car’s locks (locked or unlocked).
INSetCarLockStatusIntent, a request to lock or unlock the car.
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.