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).
I believe this is what you are looking for:
https://msdn.microsoft.com/en-us/library/windows.phone.media.devices.audioroutingendpoint.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1
https://msdn.microsoft.com/en-us/library/windows/apps/jj662949.aspx
Source: https://habr.com/ru/post/1240236/More articles:C Various structures - cC - using union, memory allocation - cHow to handle site updates using angular? - javascriptES6 Asynchronous Generator Result - javascriptIntegrate bootstrap 3 typeahead and tags entered with objects as tags - twitter-bootstrap-3Passing PHP variable to bootstrap modal - jquerytagsinput & typeahead: Unable to read the "apply" property from undefined - javascriptPassing dynamic data to boot modal - jqueryread / write uwp registration key file - uwpHow to place the whole image in a div that have its dimensions - jqueryAll Articles