In windows phone we had some life cycles that aren't available in UWP.
The application that I develop communicate over Bluetooth. At the moment, I communicate with the Bluetooth device every 1 minute. However when the user switches to another application or just turn the screen off (and the application is still running) I would like the communication to communicate every 10 minutes.
However, when I switch between applications, or even turn the screen off, the OnSuspending isn't being fired.
Is there any other way I can detect application switch or screen turned off.
I know this question has no code attached to it, however I investigated the UWP life cycles, but the solution wasn't in there.
Thx