Condition for running alarms in Windows Phone 8.0

0

When creating an alarm for Windows Phone 8.0 via the following code:

Alarm alarm = new Alarm(nome)
{
    BeginTime = dateValue,
    ExpirationTime = dateValue2,
    Content = "Horário!!!",
    RecurrenceType = RecurrenceInterval.Daily,
    };
ScheduledActionService.Add(alarm);

I would like to know how to handle this alarm to run based on a condition at the time it should be started.

    
asked by anonymous 05.03.2016 / 19:11

0 answers