Is there a way to get notified whenever a headphone jack is unplugged in a UWP app? I would like to do it without programming with low level APIs (i.e: WASAPI).
I believe this is what you are looking for:
https://msdn.microsoft.com/en-us/library/windows/apps/jj662949.aspx