Location:
btextnotifiers.h
Link against: btextnotifiers.lib
class TBTDeviceResponseParams;
Class to allow parameters to be received from the device selection dialog via the RNotifier
API.
Defined in TBTDeviceResponseParams
:
BDAddr()
, DeviceClass()
, DeviceName()
, IsValidBDAddr()
, IsValidDeviceClass()
, IsValidDeviceName()
, SetDeviceAddress()
, SetDeviceClass()
, SetDeviceName()
, TBTDeviceResponseParams()
IMPORT_C TBTDeviceResponseParams();
Constructor. Sets iValidBDAddr, iValidDeviceName and iValidDeviceClass to EFalse;
IMPORT_C void SetDeviceAddress(const TBTDevAddr &aBDAddr);
Set the address of the device.
Sets the device address to aBDAddr.
|
IMPORT_C void SetDeviceName(const TDesC &aName);
Set the name of the device.
Sets the device name to aName.
|
IMPORT_C void SetDeviceClass(TBTDeviceClass aClass);
Sets the device class to aClass.
|
IMPORT_C const TBTDevAddr &BDAddr() const;
Returns the address of the device.
Returns the device address contained within these params.
|
IMPORT_C const TDesC &DeviceName() const;
Returns the name of the device.
Returns the device name contained within these params.
|
IMPORT_C TBTDeviceClass DeviceClass();
Returns the device class contained within these params.
|
IMPORT_C TBool IsValidBDAddr() const;
Has the address of the device been set?
Returns ETrue if the device address has been set using SetDeviceAddress.
|
IMPORT_C TBool IsValidDeviceName() const;
Has the name of the device been set?
Returns ETrue if the device name has been set using SetDeviceName.
|
IMPORT_C TBool IsValidDeviceClass();
Returns ETrue if the device class has been set using SetDeviceClass(.).
|