diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-EE79D90C-CC71-5C2B-8715-A9764A48F40D.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-EE79D90C-CC71-5C2B-8715-A9764A48F40D.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,21 @@ + + + + + +Data Line Status TutorialThis tutorial describes how to get the simple data line status with the telephony API for applications. create a new instance of CTelephony use CTelephony::GetLineStatus() to get the data line status Pass EDataLine as the parameter. the function returns a TCallStatusV1 object that contains the data line status information Data line example CTelephony* telephony = CTelephony::NewLC(); + +CTelephony::TCallStatusV1 callStatusV1; +CTelephony::TCallStatusV1Pckg callStatusV1Pckg( callStatusV1 ); + +CTelephony::TPhoneLine line = CTelephony::EDataLine; +telephony->GetLineStatus( line, callStatusV1Pckg ); +CTelephony::TCallStatus dataLineStatus = callStatusV1.iStatus; + +CleanupStack::PopAndDestroy( telephony ); \ No newline at end of file