MVPbkContactFieldUriData Class Reference
class MVPbkContactFieldUriData : public MVPbkContactFieldData |
Virtual Phonebook Contact field URI data. This interface is used to manipulate URI contact field data.
Constructor & Destructor Documentation
~MVPbkContactFieldUriData()
~MVPbkContactFieldUriData | ( | ) | [inline, virtual] |
Member Functions Documentation
Cast(MVPbkContactFieldData &)
Casts MVPbkContactFieldData to this interface.
aFieldData.DataType() == EVPbkFieldStorageTypeUri VPbkError::Panic(VPbkError::EFieldDataTypeMismatch) is raised if the precondition does not hold.
Cast(const MVPbkContactFieldData &)
Casts const MVPbkContactFieldData to this interface.
aFieldData.DataType() == EVPbkFieldStorageTypeText VPbkError::Panic(VPbkError::EFieldDataTypeMismatch) is raised if the precondition does not hold.
ContactFieldTextDataExtension(TUid)
TAny * | ContactFieldTextDataExtension | ( | TUid | | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
DataType()
Returns the derived data type id.
MaxLength()
TInt
| MaxLength | ( | ) | const [pure virtual] |
Returns maximum length of the field.
Scheme()
TPtrC
| Scheme | ( | ) | const [pure virtual] |
SetUriL(const TDesC &)
void | SetUriL | ( | const TDesC & | aUri | ) | [pure virtual] |
Sets the URI data.
- Exceptions
-
SetUriL(const TDesC &, const TDesC &)
void | SetUriL | ( | const TDesC & | aScheme, |
| const TDesC & | aText |
| ) | [pure virtual] |
Sets the URI data.
- Exceptions
KErrOverflow |
if (aScheme.Length() + aText.Length() + 1 > MaxLength())
|
Text()
TPtrC
| Text | ( | ) | const [pure virtual] |
Uri()
TPtrC
| Uri | ( | ) | const [pure virtual] |
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.