Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: btextnotifiers.h
Link against: bluetooth.lib

Class TBTDeviceResponseParams

TBTDeviceResponseParams

Support

Supported from 6.1

Description

Information about the device selected by a user from a Device Selection dialog.

You can use the tester functions to test if the response contains the device address/name/class.

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

See also:


TBTDeviceResponseParams()

TBTDeviceResponseParams();

Description

Default constructor.

[Top]


Getters


BDAddr()

const TBTDevAddr& BDAddr() const;

Description

Gets the device address.

Return value

TBTDevAddr&

Device address


DeviceClass()

TBTDeviceClass DeviceClass();

Description

Gets the device class.

Return value

TBTDeviceClass

Device class


DeviceName()

const TDesC& DeviceName() const;

Description

Gets the device name.

Return value

TDesC&

Device name

[Top]


Testers


IsValidBDAddr()

TBool IsValidBDAddr() const;

Description

Tests if the device address has been set in the object.

Return value

TBool

True if the device address has been set, else false


IsValidDeviceClass()

TBool IsValidDeviceClass();

Description

Tests if the device class has been set in the object.

Return value

TBool

True if the device class has been set, else false


IsValidDeviceName()

TBool IsValidDeviceName() const;

Description

Tests if the device name has been set in the object.

Return value

TBool

True if the device name has been set, else false

[Top]


Setters

Description

The setter functions are not usually required by clients.


SetDeviceAddress()

void SetDeviceAddress(const TBTDevAddr& aBDAddr);

Description

Sets the device address in the object.

Parameters

const TBTDevAddr& aBDAddr

The device address


SetDeviceClass()

void SetDeviceClass(TBTDeviceClass aClass);

Description

Sets the device class in the object.

Parameters

TBTDeviceClass aClass

The device class


SetDeviceName()

void SetDeviceName(const TDesC& aName);

Description

Sets the device name in the object.

Parameters

const TDesC& aName

The device name