How to detect a disconnected headphone jack in a UWP app?

Is there a way to get notified when the headphone jack is disconnected in the UWP app? I would like to do this without programming with a low level API (i.e. WASAPI).

+5
source share

Source: https://habr.com/ru/post/1240236/


All Articles