Alarm Sample
The sample code for this section includes a page that allows you to enter the details of a new alarm—including its name and begin time—and to set the alarm via an application bar button. The code is located in the Alarms directory of the WPUnleashed.BackgroundAgents project, in the BackgroundAgents solution.
Within the sample, the AlarmViewModel
class contains various properties that correspond to the following properties of the Alarm
class:
BeginTime—A DateTime
value indicating when the alarm should occur.
Name—A unique string identifier ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.