Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: btextnotifiers.h
Link against: btextnotifiers.lib

Class TBTDeviceResponseParams

class TBTDeviceResponseParams;

Description

Class to allow parameters to be received from the device selection dialog via the RNotifier API.

Members

Defined in TBTDeviceResponseParams:
BDAddr(), DeviceClass(), DeviceName(), IsValidBDAddr(), IsValidDeviceClass(), IsValidDeviceName(), SetDeviceAddress(), SetDeviceClass(), SetDeviceName(), TBTDeviceResponseParams()


Construction and destruction


TBTDeviceResponseParams()

IMPORT_C TBTDeviceResponseParams();

Description

Constructor. Sets iValidBDAddr, iValidDeviceName and iValidDeviceClass to EFalse;

[Top]


Member functions


SetDeviceAddress()

IMPORT_C void SetDeviceAddress(const TBTDevAddr &aBDAddr);

Description

Set the address of the device.

Sets the device address to aBDAddr.

Parameters

const TBTDevAddr &aBDAddr

"The device address"


SetDeviceName()

IMPORT_C void SetDeviceName(const TDesC &aName);

Description

Set the name of the device.

Sets the device name to aName.

Parameters

const TDesC &aName

"The device name"


SetDeviceClass()

IMPORT_C void SetDeviceClass(TBTDeviceClass aClass);

Description

Sets the device class to aClass.

Parameters

TBTDeviceClass aClass

"The device class"


BDAddr()

IMPORT_C const TBTDevAddr &BDAddr() const;

Description

Returns the address of the device.

Returns the device address contained within these params.

Return value

const TBTDevAddr &

The device address. The reference will be valid while this object is in scope.


DeviceName()

IMPORT_C const TDesC &DeviceName() const;

Description

Returns the name of the device.

Returns the device name contained within these params.

Return value

const TDesC &

The device name. The reference will be valid while this object is in scope.


DeviceClass()

IMPORT_C TBTDeviceClass DeviceClass();

Description

Returns the device class contained within these params.

Return value

TBTDeviceClass

The device class.


IsValidBDAddr()

IMPORT_C TBool IsValidBDAddr() const;

Description

Has the address of the device been set?

Returns ETrue if the device address has been set using SetDeviceAddress.

Return value

TBool

ETrue if the device address has been set, EFalse if not.


IsValidDeviceName()

IMPORT_C TBool IsValidDeviceName() const;

Description

Has the name of the device been set?

Returns ETrue if the device name has been set using SetDeviceName.

Return value

TBool

ETrue if the device name has been set, EFalse if not.


IsValidDeviceClass()

IMPORT_C TBool IsValidDeviceClass();

Description

Returns ETrue if the device class has been set using SetDeviceClass(.).

Return value

TBool

ETrue if the device class has been set, EFalse if not.