Retrieving Alarm Information

You can retrieve information about alarms by using RASCliSession::GetAlarmDetails() as shown in the following code snippet:

       TASShdAlarm alarmDetails;
TInt err = iAlarmServerSession.GetAlarmDetails( iAlarmId, alarmDetails );
      

This method takes the object TASShdAlarm , which encapsulates all the information relating to an alarm. Clients need to know the ID of the alarm about which the information is required.