MusicControls how to get the current status of the Headset / Headphone?


#1

I have installed Music Controls to get the changes on the headphone status. I work for that but I am struggling to find the way to know how to get the current status of the headphones.

That is, when the app runs how to know if there is already a Headset connected or not?

Is there a way to do this?

Thanks in advance.