Symbian3/SDK/Source/GUID-E173DF0D-DBE3-45DE-8763-453940DF3E5B.dita
changeset 0 89d6a7a84779
equal deleted inserted replaced
-1:000000000000 0:89d6a7a84779
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE task
       
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
       
    12 <task id="GUID-E173DF0D-DBE3-45DE-8763-453940DF3E5B" xml:lang="en"><title>Setting
       
    13 Alarm Status</title><prolog><metadata><keywords/></metadata></prolog><taskbody>
       
    14 <context>       <p>Each alarm has a status property, which can have a value
       
    15 of <i>enabled</i> or <i>disabled</i>. When you add an alarm, the status of
       
    16 the alarm is enabled. Disabled alarms do not notify at the time they are due,
       
    17 and they are ignored by the Alarm Server.</p><p>Use <codeph>RASCliSession::SetAlarmStatus()</codeph> to
       
    18 change the status of the specified alarm to enabled or disabled. The following
       
    19 code fragment illustrates how to set alarm status: </p><codeblock xml:space="preserve">TAlarmId alarmId;
       
    20 TheAlarmServerSession.SetAlarmStatus( alarmId , EAlarmStatusEnabled );</codeblock></context>
       
    21 </taskbody></task>