CConnMonBearerAvailabilityChange Class Reference

#include <mw/rconnmon.h>

Link against: CONNMON.LIB

class CConnMonBearerAvailabilityChange : public CConnMonEventBase

Inherits from

Detailed Description

This event is triggered when the availability of some bearer changes. The connection ID passed in the event is a bearer specific connection ID (see TConnMonBearerId). The client must set KBearerAvailabilityThreshold to 1 to receive these events. Using this event for detecting changes in WLAN availability requires WLAN background scanning to be enabled.

Constructor & Destructor Documentation

CConnMonBearerAvailabilityChange ( const TUint, const TBool )

CConnMonBearerAvailabilityChange(const TUintaConnectionId,
const TBoolaAvailability
)

Constructor.

ParameterDescription
aConnectionIdConnection ID.
aAvailabilityAvailability of the bearer.

~CConnMonBearerAvailabilityChange ( )

~CConnMonBearerAvailabilityChange()

Destructor.

Member Function Documentation

Availability ( )

IMPORT_C TBoolAvailability()const

Gets the availability of the bearer.

Returns: ETrue if the bearer is available, EFalse if not.