Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: btdevice.h
Link against: btdevice.lib

Class BTDeviceNameConverter

class BTDeviceNameConverter;

Description

Utility class to convert between a wide TBTDeviceName and a narrow TBTDeviceName8.

Members

Defined in BTDeviceNameConverter:
ToUTF8L(), ToUnicodeL()


Member functions


ToUnicodeL()

static IMPORT_C TBTDeviceName ToUnicodeL(const TBTDeviceName8 &aName);

Description

Convert a narrow TBTDeviceName8 to a wide TBTDeviceName. Uses utf8->unicode conversion.

Parameters

const TBTDeviceName8 &aName

"The name to be converted"

Return value

TBTDeviceName

"The converted name"

Leave codes

"This

method will leave if an error occurs with the utf8->unicode conversion"


ToUTF8L()

static IMPORT_C TBTDeviceName8 ToUTF8L(const TBTDeviceName &aName);

Description

Convert a wide TBTDeviceName to a narrow TBTDeviceName8. Uses unicode->utf8 conversion.

Parameters

const TBTDeviceName &aName

"The name to be converted"

Return value

TBTDeviceName8

"The converted name"

Leave codes

"This

method will leave if an error occurs with the unicode->utf8 conversion"