-api-id | -api-type |
---|---|
E:Windows.ApplicationModel.Core.CoreApplication.BackgroundActivated |
winrt event |
Fired when your app is activated by a background trigger.
Register your background triggers with BackgroundTaskBuilder, but do not set the TaskEntryPoint. This will enable this event to fire when your trigger is signaled. The event handler has a BackgroundActivatedEventArgs parameter which contains everything that the IBackgroundTask.Run method delivers.
Tip
By the time an app enters the background state, none of its UI is visible.