TBTDeviceResponseParams Class Reference
class TBTDeviceResponseParams
|
Class to allow parameters to be received from the device selection dialog via the
RNotifier
API.
Constructor & Destructor Documentation
TBTDeviceResponseParams()
IMPORT_C
|
TBTDeviceResponseParams
|
(
|
)
|
|
Constructor. Sets iValidBDAddr, iValidDeviceName and iValidDeviceClass to EFalse;
Member Functions Documentation
BDAddr()
Returns the device address contained within these params.
DeviceClass()
Returns the device class contained within these params.
DeviceName()
IMPORT_C const
TDesC
&
|
DeviceName
|
(
|
)
|
const
|
Returns the device name contained within these params.
IsValidBDAddr()
IMPORT_C
TBool
|
IsValidBDAddr
|
(
|
)
|
const
|
Returns ETrue if the device address has been set using SetDeviceAddress.
IsValidDeviceClass()
IMPORT_C
TBool
|
IsValidDeviceClass
|
(
|
)
|
|
Returns ETrue if the device class has been set using SetDeviceClass(.).
IsValidDeviceName()
IMPORT_C
TBool
|
IsValidDeviceName
|
(
|
)
|
const
|
Returns ETrue if the device name has been set using SetDeviceName.
SetDeviceAddress(const TBTDevAddr &)
IMPORT_C void
|
SetDeviceAddress
|
(
|
const
TBTDevAddr
&
|
aBDAddr
|
)
|
|
Sets the device address to aBDAddr.
SetDeviceClass(TBTDeviceClass)
Sets the device class to aClass.
SetDeviceName(const TDesC &)
IMPORT_C void
|
SetDeviceName
|
(
|
const
TDesC
&
|
aName
|
)
|
|
Sets the device name to aName.
Parameters
const
TDesC
& aName
|
"The device name"
|
Member Data Documentation
TBTDevAddr
iBDAddr
The BT address of the remote device
TBTDeviceClass
iDeviceClass
TBuf< KMaxBluetoothNameLen > iDeviceName
The name given by the remote device
TBool
iValidBDAddr
TBool
|
iValidBDAddr
|
[private]
|
ETrue if iBDAddr has been set, EFalse if not
TBool
iValidDeviceClass
TBool
|
iValidDeviceClass
|
[private]
|
ETrue if iDeviceClass has been set, EFalse if not
TBool
iValidDeviceName
TBool
|
iValidDeviceName
|
[private]
|
ETrue if iDeviceName has been set, EFalse if not
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.