i have a need to iterate the WinRT type of object in order to unregister a UWP background task which i have registered with success.
I have access to this object BackgroundTaskRegistration.AllTasks in javascript but i receive a WinRT collection of type IMapView<Guid, BackgroundTask> which i cannot iterate or access.
NOTE: The solution is setup using Cordova, but i manually connected the WinRT from VS2017.
Any idea is appreciated!
I tried to do the same thing and found the soltuion. Here is the sample.
Hope this should work.