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)

voidAccMonitorObserverError(TIntaError)[pure virtual]

A callback for error situations.

Parameters

TInt aError

ConnectedL(CAccMonitorInfo *)

voidConnectedL(CAccMonitorInfo *aAccessoryInfo)[pure virtual]

A callback method for accessory connection notifications.

Parameters

CAccMonitorInfo * aAccessoryInfoinstance 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 *)

voidDisconnectedL(CAccMonitorInfo *aAccessoryInfo)[pure virtual]

A callback method for accessory disconnection notifications.

Parameters

CAccMonitorInfo * aAccessoryInfoinstance 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.