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()

IMPORT_C const TBTDevAddr & BDAddr ( ) const

Returns the device address contained within these params.

DeviceClass()

IMPORT_C TBTDeviceClass 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.

Parameters

const TBTDevAddr & aBDAddr "The device address"

SetDeviceClass(TBTDeviceClass)

IMPORT_C void SetDeviceClass ( TBTDeviceClass aClass )

Sets the device class to aClass.

Parameters

TBTDeviceClass aClass "The device class"

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

TBTDevAddr iBDAddr [private]

The BT address of the remote device

TBTDeviceClass iDeviceClass

TBTDeviceClass iDeviceClass [private]

The device class

TBuf< KMaxBluetoothNameLen > iDeviceName

TBuf < KMaxBluetoothNameLen > iDeviceName [private]

The name given by the remote device

TUint32 iPadding1

TUint32 iPadding1 [private]

TUint32 iPadding2

TUint32 iPadding2 [private]

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