Each alarm has a status property, which can have a value of enabled or disabled . When you add an alarm, the status of the alarm is enabled. Disabled alarms do not notify at the time they are due, and they are ignored by the Alarm Server.
Use RASCliSession::SetAlarmStatus() to change the status of the specified alarm to enabled or disabled. The following code fragment illustrates how to set alarm status:
TAlarmId alarmId; TheAlarmServerSession.SetAlarmStatus( alarmId , EAlarmStatusEnabled );
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.