diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-512B6FEB-3328-59A6-913C-7E9F7A5A0A04.dita --- a/Symbian3/PDK/Source/GUID-512B6FEB-3328-59A6-913C-7E9F7A5A0A04.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-512B6FEB-3328-59A6-913C-7E9F7A5A0A04.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,52 +1,52 @@ - - - - - -Retrieve -Message Waiting Information TutorialThis tutorial describes how to retrieve a message waiting information. -

Message waiting indicator informs the subscriber that, depending -on the mode, the voice messages, data messages, fax messages, and email messages -are waiting to be retrieved.

- -Use RMobilePhone::NotifyMessageWaiting() to -get the notification when the phone receives a message waiting indication -from the network. - -In GSM and WCDMA modes, message waiting indications are received through -SMS messages. This is applicable only to CDMA. - -Retrieve the set -of message waiting indicators from the current ICC using RMobilePhone::GetIccMessageWaitingIndicators(). -Indicator values are described by RMobilePhone::TMobilePhoneMessageWaitingV1. - -Set the message -waiting indicators on the current ICC using RMobilePhone::SetIccMessageWaitingIndicators(). - -Use RMobilePhone::NotifyIccMessageWaitingIndicatorsChange() to -get the notifications of any changes to the message waiting indicators on -the current ICC. - - -Message waiting indicator example

The following -code gets the message waiting indicators and returns the number of voice messages -waiting.

TUint8 CClientApp::VoiceMessagesWaitingL() - { - RMobilePhone::TMobilePhoneMessageWaitingV1 messageWaiting; - RMobilePhone::TMobilePhoneMessageWaitingV1Pckg messageWaitingPckg(messageWaiting); - TRequestStatus status; - - iMobilePhone.GetIccMessageWaitingIndicators(status,messageWaitingPckg); - User::WaitForRequest(status); - User::LeaveIfError(status.Int()); - - return messageWaiting.iVoiceMsgs; - } -
+ + + + + +Retrieve +Message Waiting Information TutorialThis tutorial describes how to retrieve a message waiting information. +

Message waiting indicator informs the subscriber that, depending +on the mode, the voice messages, data messages, fax messages, and email messages +are waiting to be retrieved.

+ +Use RMobilePhone::NotifyMessageWaiting() to +get the notification when the phone receives a message waiting indication +from the network. + +In GSM and WCDMA modes, message waiting indications are received through +SMS messages. This is applicable only to CDMA. + +Retrieve the set +of message waiting indicators from the current ICC using RMobilePhone::GetIccMessageWaitingIndicators(). +Indicator values are described by RMobilePhone::TMobilePhoneMessageWaitingV1. + +Set the message +waiting indicators on the current ICC using RMobilePhone::SetIccMessageWaitingIndicators(). + +Use RMobilePhone::NotifyIccMessageWaitingIndicatorsChange() to +get the notifications of any changes to the message waiting indicators on +the current ICC. + + +Message waiting indicator example

The following +code gets the message waiting indicators and returns the number of voice messages +waiting.

TUint8 CClientApp::VoiceMessagesWaitingL() + { + RMobilePhone::TMobilePhoneMessageWaitingV1 messageWaiting; + RMobilePhone::TMobilePhoneMessageWaitingV1Pckg messageWaitingPckg(messageWaiting); + TRequestStatus status; + + iMobilePhone.GetIccMessageWaitingIndicators(status,messageWaitingPckg); + User::WaitForRequest(status); + User::LeaveIfError(status.Int()); + + return messageWaiting.iVoiceMsgs; + } +
\ No newline at end of file