MAccMonitorObserver Class Reference

Link against: accmonitor.lib


#include <
AccMonitor.h>

Detailed Description

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

Public Member Functions

virtual void ConnectedL (CAccMonitorInfo *aAccessoryInfo)=0
 A callback method for accessory connection notifications.
virtual void DisconnectedL (CAccMonitorInfo *aAccessoryInfo)=0
 A callback method for accessory disconnection notifications.
virtual void AccMonitorObserverError (TInt aError)=0
 A callback for error situations.

Member Function Documentation

virtual void MAccMonitorObserver::AccMonitorObserverError TInt  aError  )  [pure virtual]
 

A callback for error situations.

Parameters:
Standard Symbian error code.
virtual void MAccMonitorObserver::ConnectedL CAccMonitorInfo aAccessoryInfo  )  [pure virtual]
 

A callback method for accessory connection notifications.

Parameters:
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.
virtual void MAccMonitorObserver::DisconnectedL CAccMonitorInfo aAccessoryInfo  )  [pure virtual]
 

A callback method for accessory disconnection notifications.

Parameters:
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.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2007
Back to top