PhCltUtils Class Reference

class PhCltUtils

It contains utility methods.

This class can be used to remove illegal characters from descriptors before dialing. However, it shouldn't be done before you have ensured that string is acceptable by application specific grammar.

Thus, you should process as follows: 1. Check that string is acceptable. (application specific) 2. If not, stop. Otherwise continue. 3. Convert to string acceptable by phoneclient - typically, you just have to remove invalid characters. 4. Do whatever you wish with the string, e.g. dial.

phoneclient.lib
Since
1.0
Public Member Functions
IMPORT_C TBool IsValidChar ( TChar )
IMPORT_C void RemoveInvalidChars ( TDes &)
IMPORT_C void RemoveURIPrefixdAndDomainChars ( TDes &)

Member Functions Documentation

IsValidChar(TChar)

IMPORT_C TBool IsValidChar ( TChar aChar ) [static]

Checks if character is acceptable.

Parameters

TChar aChar character.

RemoveInvalidChars(TDes &)

IMPORT_C void RemoveInvalidChars ( TDes & aString ) [static]

Removes all illegal characters from descriptor.

Parameters

TDes & aString string from which those characters are removed.

RemoveURIPrefixdAndDomainChars(TDes &)

IMPORT_C void RemoveURIPrefixdAndDomainChars ( TDes & aString ) [static]

Removes SIP prefixses and domain part from descriptor.

Since
3.0

Parameters

TDes & aString string from which those characters are removed.