Can only get 4 properties?
See original GitHub issueAny thoughts why I can only get 4 properties?
CarPropertyConfig{mPropertyId= 287310850 > PARKING_BRAKE_ON CarPropertyConfig{mPropertyId= 289408000 > GEAR_SELECTION CarPropertyConfig{mPropertyId= 289408001 > CURRENT_GEAR CarPropertyConfig{mPropertyId= 289408009 > IGNITION_STATE
When I list all properties, I only see the above 4:
// Create a list of properties in debug window
val carPropertyList = carPropertyManager.propertyList
Log.d(TAG, "carPropertyList: " + carPropertyList.toString())
for (i in 0 until carPropertyList.size) {
val carProperty = carPropertyList[i]
data.add(carProperty.toString())
}
If I try to register any other property, I get an error: E/CarPropertyManager: registerListener: propId is not in config list: 291504647
Here’s the code I try to use:
// Subscribes to the car speed events.
carPropertyManager.registerCallback(
carPropertyCarSpeedListener,
VehiclePropertyIds.PERF_VEHICLE_SPEED,
CarPropertyManager.SENSOR_RATE_ONCHANGE
)
I did add CAR_SPEED permission to my manifest:
<uses-permission android:name="android.car.permission.CAR_SPEED" />
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:16
Top Results From Across the Web
The 5-10 Properties program is for investors with more than 4 ...
You can finance more than 4 properties at once This is a truth. Real estate investors buy foreclosed homes, multi-unit properties, and vacant...
Read more >Why Only 4 Rental Properties is a Tremendous and ... - YouTube
FREE 10 Page PDF: I wrote this paper as a guide to help you get your next rental property. Download it HERE: https://bit.ly/3oeYESL...
Read more >B2-2-03, Multiple Financed Properties for the Same Borrower ...
If the borrower is financing a second home or investment property that is underwritten through DU and the borrower will have one to...
Read more >[GA4] About subproperties - Analytics Help
Only a Google Analytics 360 property can be the source property for a subproperty. A subproperty is a property that gets its data...
Read more >Using Properties - C# Programming Guide - Microsoft Learn
A property without a set accessor is considered read-only. A property without a get accessor is considered write-only. A property that has both ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah… but which… who knows… where to ask?
In case it helps, this file contains all the Car properties together with the required permissions: https://cs.android.com/android/platform/superproject/+/master:packages/services/Car/car-lib/src/android/car/VehiclePropertyIds.java;l=30?q=VehiclePropertyIds