This tutorial describes how to get the simple data line status with the telephony API for applications.
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 );
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.