Does anyone have an idea how to check whether the sound is played directly on the phone or through bluetooth headphones?
In the internet radio application, I would like the sound to be paused after the car exits. I searched everywhere and found no solution. Perhaps someone knows how to do this or wants to write extension. Paid of course.
so you can program it like if the head phone is plugged in then perform the task you want and if headphone plugged in = false then it performs the task you want
You can use this extension to get, Is the Bluetooth Enabled or Not, If the Bluetooth Enabled then play the music in it, if not then play in the device’s speaker.