Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:


Construction and destruction


TBTDeviceResponseParams()

IMPORT_C TBTDeviceResponseParams();

Description

Constructor. Sets iValidBDAddr, iValidDeviceName and iValidDeviceClass to EFalse;

[Top]


Member functions


SetDeviceAddress(const TBTDevAddr &)

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(const TDesC &)

IMPORT_C void SetDeviceName(const TDesC &aName);

Description

Set the name of the device.

Sets the device name to aName.

Parameters

const TDesC16 &aName

"The device name"


SetDeviceClass(TBTDeviceClass)

IMPORT_C void SetDeviceClass(TBTDeviceClass aClass);

Description

Sets the device class to aClass.

Parameters

TBTDeviceClass aClass

"The device class"


BDAddr()const

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

IMPORT_C const TDesC& DeviceName() const;

Description

Returns the name of the device.

Returns the device name contained within these params.

Return value

const TDesC16 &

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

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

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.