CConnMonPacketDataAvailable Class Reference

#include <mw/rconnmon.h>

Link against: CONNMON.LIB

class CConnMonPacketDataAvailable : public CConnMonEventBase

Inherits from

Detailed Description

This event is triggered when GPRS or WCDMA bearer availability changes, a phone call is started, or a phone call ends. The connection ID passed in the event is a bearer specific connection ID, either EBearerIdGPRS or EBearerIdWCDMA (see TConnMonBearerId).

EConnMonPacketDataAvailable and EConnMonPacketDataUnavailable events form a pair. Two events are always sent, one with connection ID EBearerIdGPRS for 2G network, and one with connection ID EBearerIdWCDMA for 3G network. The event for the network that the phone is not registered to is always of type EConnMonPacketDataUnavailable. If the phone does not support dual transfer mode and a call is started, a GPRS or WCDMA packet data connection will be put on hold. In this scenario, both will be of type EConnMonPacketDataUnavailable. The same information can be retrieved with TBool attribute KPacketDataAvailability.

Constructor & Destructor Documentation

CConnMonPacketDataAvailable ( const TUint )

CConnMonPacketDataAvailable(const TUintaConnectionId)

Constructor.

ParameterDescription
aConnectionIdBearer specific connection ID, EBearerIdGPRS or EBearerIdWCDMA.

~CConnMonPacketDataAvailable ( )

~CConnMonPacketDataAvailable()[virtual]

Destructor.