You are developing a Windows Store app by using JavaScript. The app will track oil prices,
The app must display oil prices on the lock screen and continue to run while dormant.
You plan to use a background task to refresh oil prices in the app.
You need to design the background task to provide up-to-date information and to minimize
system resource requirements.
What should you do?
A.
Use a ControlChannelTrigger object that has CPU utilization set to Low if the OnBattery
condition is true or Normal if the OnCharge condition is true. Persist data to local storage.
B.
Use a TimeTrigger object to poll for data at one-minute intervals, and push the most
recent available data to the app.
C.
Use a TimeTrigger object to poll for data at five-minute intervals, and push the most
recent available data to persistent storage.
D.
Register the app with a Windows Push Notification Services (WNS) service, and use a
Trigger object to deliver the most recent oil quotes to persistent storage.