#include <btextnotifiers.h>
class TBTDeviceResponseParams |
Public Member Functions | |
---|---|
TBTDeviceResponseParams() | |
IMPORT_C const TBTDevAddr & | BDAddr() |
IMPORT_C TBTDeviceClass | DeviceClass() |
IMPORT_C const TDesC & | DeviceName() |
IMPORT_C TBool | IsValidBDAddr() |
IMPORT_C TBool | IsValidDeviceClass() |
IMPORT_C TBool | IsValidDeviceName() |
IMPORT_C void | SetDeviceAddress(const TBTDevAddr &) |
IMPORT_C void | SetDeviceClass(TBTDeviceClass) |
IMPORT_C void | SetDeviceName(const TDesC &) |
Class to allow parameters to be received from the device selection dialog via the RNotifier API.
IMPORT_C | TBTDeviceResponseParams | ( | ) |
Constructor. Sets iValidBDAddr, iValidDeviceName and iValidDeviceClass to EFalse;
IMPORT_C const TBTDevAddr & | BDAddr | ( | ) | const |
Returns the device address contained within these params.
Returns: The device address. The reference will be valid while this object is in scope.
IMPORT_C TBTDeviceClass | DeviceClass | ( | ) |
Returns the device class contained within these params.
Returns: The device class.
IMPORT_C const TDesC & | DeviceName | ( | ) | const |
Returns the device name contained within these params.
Returns: The device name. The reference will be valid while this object is in scope.
IMPORT_C TBool | IsValidBDAddr | ( | ) | const |
Returns ETrue if the device address has been set using SetDeviceAddress.
Returns: ETrue if the device address has been set, EFalse if not.
IMPORT_C TBool | IsValidDeviceClass | ( | ) |
Returns ETrue if the device class has been set using SetDeviceClass(.).
Returns: ETrue if the device class has been set, EFalse if not.
IMPORT_C TBool | IsValidDeviceName | ( | ) | const |
Returns ETrue if the device name has been set using SetDeviceName.
Returns: ETrue if the device name has been set, EFalse if not.
IMPORT_C void | SetDeviceAddress | ( | const TBTDevAddr & | aBDAddr | ) |
Sets the device address to aBDAddr.
Parameter | Description |
---|---|
aBDAddr | "The device address" |
IMPORT_C void | SetDeviceClass | ( | TBTDeviceClass | aClass | ) |
Sets the device class to aClass.
Parameter | Description |
---|---|
aClass | "The device class" |
IMPORT_C void | SetDeviceName | ( | const TDesC & | aName | ) |
Sets the device name to aName.
Parameter | Description |
---|---|
aName | "The device name" |