Your app’s response to a request for the car power level.
- iOS 10.3+
- Mac Catalyst 13.0+Beta
- watchOS 3.2+
INGetCarPowerLevelStatusIntentResponse object to specify the result of a request for a car’s current power level. You create instances of this class when confirming or handling a car power level intent. Use this object to confirm that the request is valid and communicate whether the app was able to successfully get the power level data from the car, or to report any errors that occur.
You create an
INGetCarPowerLevelStatusIntentResponse object in the
handleGetCarPowerLevelStatus:completion: methods of your handler object. For more information about implementing your handler object, see
Initializing the Response Object
Getting the Response Code
The code indicating success or failure when confirming or handling an intent.
Providing the Power Level Information
The distance that the car can travel on the remaining charge or fuel.
A Boolean value that indicates whether the car is currently charging.
The number of minutes it will take to charge the car’s battery to full.
Get Car Power Level Status
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software