TBTDeviceResponseParams Class Reference

#include <btextnotifiers.h>

Link against: btextnotifiers.lib

class TBTDeviceResponseParams
Public Member Functions
TBTDeviceResponseParams()
IMPORT_C const TBTDevAddr &BDAddr()
IMPORT_C TBTDeviceClassDeviceClass()
IMPORT_C const TDesC &DeviceName()
IMPORT_C TBoolIsValidBDAddr()
IMPORT_C TBoolIsValidDeviceClass()
IMPORT_C TBoolIsValidDeviceName()
IMPORT_C voidSetDeviceAddress(const TBTDevAddr &)
IMPORT_C voidSetDeviceClass(TBTDeviceClass)
IMPORT_C voidSetDeviceName(const TDesC &)

Detailed Description

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

Constructor & Destructor Documentation

TBTDeviceResponseParams ( )

IMPORT_CTBTDeviceResponseParams()

Constructor. Sets iValidBDAddr, iValidDeviceName and iValidDeviceClass to EFalse;

Member Function Documentation

BDAddr ( )

IMPORT_C const TBTDevAddr &BDAddr()const

Returns the device address contained within these params.

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

DeviceClass ( )

IMPORT_C TBTDeviceClassDeviceClass()

Returns the device class contained within these params.

Returns: The device class.

DeviceName ( )

IMPORT_C const TDesC &DeviceName()const

Returns the device name contained within these params.

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

IsValidBDAddr ( )

IMPORT_C TBoolIsValidBDAddr()const

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

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

IsValidDeviceClass ( )

IMPORT_C TBoolIsValidDeviceClass()

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

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

IsValidDeviceName ( )

IMPORT_C TBoolIsValidDeviceName()const

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

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

SetDeviceAddress ( const TBTDevAddr & )

IMPORT_C voidSetDeviceAddress(const TBTDevAddr &aBDAddr)

Sets the device address to aBDAddr.

ParameterDescription
aBDAddr"The device address"

SetDeviceClass ( TBTDeviceClass )

IMPORT_C voidSetDeviceClass(TBTDeviceClassaClass)

Sets the device class to aClass.

ParameterDescription
aClass"The device class"

SetDeviceName ( const TDesC & )

IMPORT_C voidSetDeviceName(const TDesC &aName)

Sets the device name to aName.

ParameterDescription
aName"The device name"