#include <btextnotifiers.h>
| class TBTDeviceSelectionParams |
| Public Member Functions | |
|---|---|
| TBTDeviceSelectionParams() | |
| IMPORT_C TBTDeviceClass | DeviceClass() |
| IMPORT_C TBool | IsValidDeviceClass() |
| IMPORT_C TBool | IsValidUUID() |
| IMPORT_C void | SetDeviceClass(TBTDeviceClass) |
| IMPORT_C void | SetUUID(const TUUID &) |
| IMPORT_C const TUUID & | UUID() |
Class to allow parameters to be sent to the device selection dialog via the RNotifier API.
| IMPORT_C | TBTDeviceSelectionParams | ( | ) |
Constructor. Sets iValidDeviceClass and iValidUuid to EFalse.
| IMPORT_C TBTDeviceClass | DeviceClass | ( | ) |
Returns the device class contained within these params.
Returns: The device class.
| 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 | IsValidUUID | ( | ) |
Returns ETrue if the UUID has been set using SetUUID(.).
Returns: ETrue if the UUID has been set, EFalse if not.
| IMPORT_C void | SetDeviceClass | ( | TBTDeviceClass | aClass | ) |
Sets the device class to aClass.
| Parameter | Description |
|---|---|
| aClass | "The device class" |
| IMPORT_C void | SetUUID | ( | const TUUID & | aUUID | ) |
Sets the UUID to aUUID.
| Parameter | Description |
|---|---|
| aUUID | "The UUID" |
| IMPORT_C const TUUID & | UUID | ( | ) |
Returns the UUID contained within these params.
Returns: The UUID. The reference will remain valid while this object is in scope.