#include <mw/nfctagsubscription.h>
Link against: nfcdiscoveryservice.lib
class CNfcTagSubscription : public CBase |
Public Member Functions | |
---|---|
~CNfcTagSubscription() | |
IMPORT_C void | AddConnectionModeL(TNfcConnectionInfo::TNfcConnectionMode) |
IMPORT_C TInt | Count() |
IMPORT_C TInt | GetConnectionModes(RArray< TNfcConnectionInfo::TNfcConnectionMode > &) |
IMPORT_C CNfcTagSubscription * | NewL() |
IMPORT_C CNfcTagSubscription * | NewL(const CNfcTagSubscription &) |
IMPORT_C CNfcTagSubscription * | NewLC() |
IMPORT_C CNfcTagSubscription * | NewLC(const CNfcTagSubscription &) |
IMPORT_C void | RemoveAllConnectionModes() |
IMPORT_C void | RemoveConnectionMode(TNfcConnectionInfo::TNfcConnectionMode) |
IMPORT_C TBool | operator!=(const CNfcTagSubscription &) |
IMPORT_C void | operator=(const CNfcTagSubscription &) |
IMPORT_C TBool | operator==(const CNfcTagSubscription &) |
Nfc Tag subscription
IMPORT_C void | AddConnectionModeL | ( | TNfcConnectionInfo::TNfcConnectionMode | aConnectionMode | ) |
Adds new connection mode to this CNfcTagSubscription object.
KErrAlreadyExists if specified connection already exists.
Parameters | |
---|---|
aConnectionMode | Connection mode, which will be added to this CNfcTagSubscription. |
IMPORT_C TInt | Count | ( | ) | const |
Counts number of added connection modes of tthis CNfcTagSubscription.
IMPORT_C TInt | GetConnectionModes | ( | RArray< TNfcConnectionInfo::TNfcConnectionMode > & | aArray | ) | const |
Returns array of connection modes.
Parameters | |
---|---|
aArray | Will contain all connection modes, which are added to this CNfcTagSubscription. |
KErrNone | if all connection modes are successfully added to RArray. |
IMPORT_C CNfcTagSubscription * | NewL | ( | const CNfcTagSubscription & | aSubscription | ) | [static] |
Creates a new instance of this class.
Parameters | |
---|---|
aSubscription | Subscription, which content is copied to this object. |
IMPORT_C CNfcTagSubscription * | NewLC | ( | const CNfcTagSubscription & | aSubscription | ) | [static] |
Creates a new instance of this class.
Parameters | |
---|---|
aSubscription | Subscription, which content is copied to this object. |
IMPORT_C void | RemoveAllConnectionModes | ( | ) |
Removes all connection modes from this CNfcTagSubscription.
IMPORT_C void | RemoveConnectionMode | ( | TNfcConnectionInfo::TNfcConnectionMode | aConnectionMode | ) |
Removes specified connection mode from this CNfcTagSubscription.
Parameters | |
---|---|
aConnectionMode | Connection mode, which will be removed from this CNfcTagSubscription. |
IMPORT_C TBool | operator!= | ( | const CNfcTagSubscription & | aList | ) | const |
Determines whether this CNfcTagSubscription is not equal with specified CNfcTagSubscription.
Parameters | |
---|---|
aList | CNfcTagSubscription which is compared to this CNfcTagSubscription. |
IMPORT_C void | operator= | ( | const CNfcTagSubscription & | aList | ) |
Copies data from specified CNfcTagSubscription to this CNfcTagSubscription by replacing any existing data.
Parameters | |
---|---|
aList | CNfcTagSubscription, which is copied to this CNfcTagSubscription. |
IMPORT_C TBool | operator== | ( | const CNfcTagSubscription & | aList | ) | const |
Determines whether this CNfcTagSubscription is equal with specified CNfcTagSubscription.
Parameters | |
---|---|
aList | CNfcTagSubscription which is compared to this CNfcTagSubscription. |