diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-A18BC63B-38CB-520E-89FF-955D18CC8B54.dita --- a/Symbian3/PDK/Source/GUID-A18BC63B-38CB-520E-89FF-955D18CC8B54.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-A18BC63B-38CB-520E-89FF-955D18CC8B54.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,25 +1,25 @@ - - - - - -Next Incoming Call Settings TutorialThis tutorial describes how to get and set the next incoming call type.

The GSM has a Single Numbering Scheme. A subscriber has one directory MSISDN number for all type of call like voice, Fax and data. The network does not detect the type of inbound calls. The subscriber to select the bearer service to use for the inbound calls.

Get the current setting using RMobilePhone::GetIncomingCallType(). The possible types of settings are described in the RMobilePhone::TMobilePhoneIncomingCallType enum. Settings are encapsulated in a packaged call parameters RMobileCall::TMobileDataCallParamsV1 object or a subclass. Set the next incoming call type using RMobilePhone::SetIncomingCallType() Use RMobilePhone::NotifyIncomingCallTypeChange() to get the notification of any changes to the next incoming call type. Next incoming call example

The following code gets the current incoming call type setting, and checks if it is voice.

The code assumes iMobilePhone is an RMobilePhone object.

RMobilePhone::TMobilePhoneIncomingCallType callType; -RMobileCall::TMobileDataCallParamsV1 mobileCallParams; -RMobileCall::TMobileDataCallParamsV1Pckg mobileCallParamsPckg(mobileCallParams); -TRequestStatus status; - -iMobilePhone.GetIncomingCallType(status, callType, mobileCallParamsPckg); -User::WaitForRequest(status); -User::LeaveIfError(status.Int()); - -if (callType == RMobilePhone::EIncomingVoice) - { - //do something - } + + + + + +Next Incoming Call Settings TutorialThis tutorial describes how to get and set the next incoming call type.

The GSM has a Single Numbering Scheme. A subscriber has one directory MSISDN number for all type of call like voice, Fax and data. The network does not detect the type of inbound calls. The subscriber to select the bearer service to use for the inbound calls.

Get the current setting using RMobilePhone::GetIncomingCallType(). The possible types of settings are described in the RMobilePhone::TMobilePhoneIncomingCallType enum. Settings are encapsulated in a packaged call parameters RMobileCall::TMobileDataCallParamsV1 object or a subclass. Set the next incoming call type using RMobilePhone::SetIncomingCallType() Use RMobilePhone::NotifyIncomingCallTypeChange() to get the notification of any changes to the next incoming call type. Next incoming call example

The following code gets the current incoming call type setting, and checks if it is voice.

The code assumes iMobilePhone is an RMobilePhone object.

RMobilePhone::TMobilePhoneIncomingCallType callType; +RMobileCall::TMobileDataCallParamsV1 mobileCallParams; +RMobileCall::TMobileDataCallParamsV1Pckg mobileCallParamsPckg(mobileCallParams); +TRequestStatus status; + +iMobilePhone.GetIncomingCallType(status, callType, mobileCallParamsPckg); +User::WaitForRequest(status); +User::LeaveIfError(status.Int()); + +if (callType == RMobilePhone::EIncomingVoice) + { + //do something + }
\ No newline at end of file