<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License
"Eclipse Public License v1.0" which accompanies this distribution,
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
Nokia Corporation - initial contribution.
Contributors:
-->
<!DOCTYPE task
PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task id="GUID-D158746C-6043-4ED4-833B-85C82831A66B" xml:lang="en"><title>Retrieving
Alarm Information</title><prolog><metadata><keywords/></metadata></prolog><taskbody>
<context> <p>You can retrieve information about alarms by using <codeph>RASCliSession::GetAlarmDetails()</codeph> as
shown in the following code snippet:</p><codeblock xml:space="preserve">TASShdAlarm alarmDetails;
TInt err = iAlarmServerSession.GetAlarmDetails( iAlarmId, alarmDetails );</codeblock><p>This
method takes the object <codeph>TASShdAlarm</codeph>, which encapsulates all
the information relating to an alarm. Clients need to know the ID of the alarm
about which the information is required.</p></context>
</taskbody></task>