MAccMonitorObserver Class Reference

class MAccMonitorObserver

The observer offers methods to observe connection/disconnection notifications from some defined accessory or all accessory connection/disconnection notifications.

Member Functions Documentation

AccMonitorObserverError(TInt)

void AccMonitorObserverError ( TInt aError ) [pure virtual]

A callback for error situations.

Parameters

TInt aError

ConnectedL(CAccMonitorInfo *)

void ConnectedL ( CAccMonitorInfo * aAccessoryInfo ) [pure virtual]

A callback method for accessory connection notifications.

Parameters

CAccMonitorInfo * aAccessoryInfo instance of the connected accessory. The content of the pointer must be copied to an instance CAccMonitorInfo because the original pointer is destroyed after the ConnectedL metdhod.

DisconnectedL(CAccMonitorInfo *)

void DisconnectedL ( CAccMonitorInfo * aAccessoryInfo ) [pure virtual]

A callback method for accessory disconnection notifications.

Parameters

CAccMonitorInfo * aAccessoryInfo instance of the connected accessory. The content of the pointer must be copied to an instance CAccMonitorInfo because the original pointer is destroyed after the DisconnectedL metdhod.