PhCltUtils Class Reference
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
Member Functions Documentation
IsValidChar(TChar)
Checks if character is acceptable.
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.
Parameters
TDes & aString | string from which those characters are removed. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.