The both ScheduledNotification classes (Alarm and Reminder) inherit from the base classes ScheduledNotification and ScheduledAction. The difference is that when we want to send contextual information to the application that created the notification we should use Reminder, on the other hand if we need to play some notification sound we should use the Alarm.
Gets or sets the time at which the action’s schedule begin.
Gets or sets the text content that is presented to the user.
Gets or sets the time at which the action’s schedule expires.
Gets the enabled status of the action.
Gets the scheduled status of the action.
Gets the name of the scheduled action.
Gets or sets the recurrence type for a notification.
Gets or sets the sound that is played when the alarm is launched.
This property is not supported in the current version
Alarm alarm = new Alarm("TaskUniqueName");
alarm.BeginTime = DateTime.Now.AddSeconds(5);
alarm.Content = "My Alarm Content";
alarm.ExpirationTime = DateTime.Now.AddSeconds(10);
alarm.RecurrenceType = RecurrenceInterval.None;
alarm.Sound = new Uri("FilePath", UriKind.RelativeOrAbsolute);
Gets or sets the navigation Uri that is passed to the application when it is launched from the reminder
Reminder reminder = new Reminder("TaskUniqueName");
reminder.BeginTime = DateTime.Now.AddSeconds(5);
reminder.Content = "My Reminder Content";
reminder.ExpirationTime = DateTime.Now.AddSeconds(10);
reminder.RecurrenceType = RecurrenceInterval.None;
reminder.NavigationUri = new Uri("/MainPage.xaml", UriKind.RelativeOrAbsolute);
reminder.Title = "My Reminder Title";
Nice... Keep it up! :)
Thanks...it would be helpful...:)