#include <mw/nfcconnection.h>
| class MNfcConnection |
| Public Member Functions | |
|---|---|
| virtual | ~MNfcConnection() |
| pure virtual TInt | Activate(TInt) |
| pure virtual void | CancelRawModeAccess() |
| pure virtual TNfcConnectionInfo::TNfcConnectionMode | ConnectionMode() |
| pure virtual void | Deactivate() |
| pure virtual TBool | IsActivated() |
| pure virtual void | RawModeAccess(TRequestStatus &, const TDesC8 &, TDes8 &, TTimeIntervalMicroSeconds32 &) |
This interface provides activation and deactivation methods for NFC connection objects.
Activates this MNfcConnection object.
User must not call this
| Parameters | |
|---|---|
| aHandle | Handle to the NFC connection |
| TNfcConnectionInfo::TNfcConnectionMode | ConnectionMode | ( | ) | [pure virtual] |
Returns the connection mode of this MNfcConnection object.
| TBool | IsActivated | ( | ) | [pure virtual] |
Is this MNfcConnection object currently in active state.
| EFalse | Inactive |
| ETrue | Active |
| void | RawModeAccess | ( | TRequestStatus & | aStatus, |
| const TDesC8 & | aCommand, | |||
| TDes8 & | aResponse, | |||
| TTimeIntervalMicroSeconds32 & | aTimeout | |||
| ) | [pure virtual] | |||
Raw access mode
| Parameters | |
|---|---|
| aCommand | command binary stream for the tag defined in tag operation spec. |
| aResponse | response for the command |
| aTimeout | timeout for the operation |