I was wondering if there is any particular callback
or anything similar that I could get when checking if my device is connected via bluetooth to a system of a car.
I am aware that there are some companies which change the UI when connected to these systems. Let's say, a UI for no Bluetooth connection or Bluetooth connection wearing headphones vs a completely different UI when connected to the car (for example really big buttons to be easily clicked while driving)
I had a look at BluetoothAdapter from Android. Particularly I was interested in ACTION_CONNECTION_STATE_CHANGED
which could let me know when a new connection has been made, but I did not really see any way to identify when has been connected to the system of a car or any other Bluetooth device.
Is there any other way to do it? If so, please provide a simple implementation or link to good documentation.