question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can only get 4 properties?

See original GitHub issue

Any 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:open
  • Created 2 years ago
  • Reactions:3
  • Comments:16

github_iconTop GitHub Comments

2reactions
nikagersonlohmancommented, Apr 28, 2021

Yeah… but which… who knows… where to ask?

0reactions
narkocommented, May 4, 2022
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found