I would like to get track info of the current playing track in the Microsoft Groove app in my own app. I\'m talking about the Groove APP and not the REST Api.
My first
https://docs.microsoft.com/en-us/uwp/api/Windows.Media.SystemMediaTransportControls
SystemMediaTransportControls _control = SystemMediaTransportControls.GetForCurrentView();
Windows.Foundation.UniversalApiContract.winmd is the contract you require to gain access to the SMTC Class.
Reference this and you should be able to gain control.
add this to your project file in visual studio.
I'm hoping this is what you were looking for, either way this will allow you access to the "Windows.Media" namespace.