This scenario demonstrates how to use a custom trigger for a background task.
Register Unregister
After registering the task, connect a fx2 device. The task will display a device arrival notification toast.