diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-A8EE55C2-0636-44E2-8B2B-05EA8D4A96A4.dita --- a/Symbian3/PDK/Source/GUID-A8EE55C2-0636-44E2-8B2B-05EA8D4A96A4.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-A8EE55C2-0636-44E2-8B2B-05EA8D4A96A4.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,31 +1,31 @@ - - - - - -Obtaining -Alarm ID or Category List -

To retrieve a list of all alarms maintained within the -Alarm Server's queue, use GetAlarmIdListL as shown in the -following code fragment:

RArray<TAlarmId> alarmIds; -CleanupClosePushL( alarmIds ); -TheAlarmServerSession.GetAlarmIdListL( alarmIds );

You can retrieve -a list of all categories utilized within the alarm server using GetAvailableCategoryListL, -as shown in the following code fragment:

RArray<TAlarmCategory> categories; -TheAlarmServerSession.GetAvailableCategoryListL( categories );

Use GetAlarmIdListForCategoryL to -retrieve an array containing all, for example, Clock alarms, as shown in the -following code fragment:

//Get alarms with category -KASCliCategoryClockRArray<TAlarmId> alarms; -CleanupClosePushL( alarms ); -TheAlarmServerSession.GetAlarmIdListForCategoryL( KASCliCategoryClock, alarms );

You -can also retrieve a list of alarm IDs associated with alarms in a given state -using GetAlarmIdListByStateL, as shown in the following code -fragment:

RArray<TAlarmId> alarmIds; -TheAlarmServerSession.GetAlarmIdListByStateL( EAlarmStateSnoozed, alarmIds );
+ + + + + +Obtaining +Alarm ID or Category List +

To retrieve a list of all alarms maintained within the +Alarm Server's queue, use GetAlarmIdListL as shown in the +following code fragment:

RArray<TAlarmId> alarmIds; +CleanupClosePushL( alarmIds ); +TheAlarmServerSession.GetAlarmIdListL( alarmIds );

You can retrieve +a list of all categories utilized within the alarm server using GetAvailableCategoryListL, +as shown in the following code fragment:

RArray<TAlarmCategory> categories; +TheAlarmServerSession.GetAvailableCategoryListL( categories );

Use GetAlarmIdListForCategoryL to +retrieve an array containing all, for example, Clock alarms, as shown in the +following code fragment:

//Get alarms with category +KASCliCategoryClockRArray<TAlarmId> alarms; +CleanupClosePushL( alarms ); +TheAlarmServerSession.GetAlarmIdListForCategoryL( KASCliCategoryClock, alarms );

You +can also retrieve a list of alarm IDs associated with alarms in a given state +using GetAlarmIdListByStateL, as shown in the following code +fragment:

RArray<TAlarmId> alarmIds; +TheAlarmServerSession.GetAlarmIdListByStateL( EAlarmStateSnoozed, alarmIds );
\ No newline at end of file