From the course: Developing UWP Apps: 9 Background Tasks

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Real-time triggers

Real-time triggers

- [Instructor] So in general, real-time triggers occur through push notifications and the great opportunity here is that a push notification-based real-time trigger can be initialized by having any type of payload sent to it. This could be a tile or a toast, but more commonly it's just raw content in a lightweight payload such as XML or JSON data that get sent over to the background task itself. And of course as the user doesn't have to interact with it, you could reasonably send targeted notifications to devices that could communicate with an app and the user itself wouldn't have to interact in any way. For example, you could even send a notification that would automatically update an app or clean up storage or synchronize data or perform some action or communicate with an IoT device, also evaluate information that comes from a real-time trigger, and send a tile or toast update from the background task itself. And really, the primary reason why this is so powerful, this concept is so…

Contents