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
From the course: Developing UWP Apps: 9 Background Tasks
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Background task concepts2m
-
Common scenarios1m 29s
-
Background task types2m
-
Background task dependencies1m 52s
-
Adding and configuring a background task5m 59s
-
System triggers2m 29s
-
Trigger conditions1m 6s
-
System triggers in action10m 57s
-
Background user actions50s
-
Action triggers in action5m 29s
-
Real-time triggers2m 31s
-
Real-time triggers in action6m 45s
-
-