PresSettingsApi Class Reference
This is the class which clients need to use for manipulating presence settings.
Member Functions Documentation
CreateSetL(TPresSettingsSet)
Creates a new set in the repository. This method may leave if some system error occur while creating new set.
CreateUniqueIdL(CRepository *, TUint32)
Create a unique ID for a set
DecodePropertyStatus(TInt, TPresSettingsProperty)
Returns TPresPropStatus for a given property from the given integer. Use aPropertyName=EPresStatusOfProps to get the status of a set as a whole
EncodePropertyStatus(TInt &, TPresPropStatus, TPresSettingsProperty)
Encodes the given TPresPropStatus to the given integer. Use aPropertyName=EPresStatusOfProps to set the status of a set as a whole
GetAllSetsNamesLC(RArray< TInt > &)
Returns the name of all setting sets stored in the repository. This function is useful for displaying a list of available sets, elements of RArray can be used to access each set seperately. Make sure that CDesCArray* didnt allocated any memory before this method. Caller may also want to reset aSetIds before calling this method.
GetFreshRawInHex(CRepository *)
Get a fresh (empty) row, which is used for creating a new set
GetRawInHexL(CRepository *, TInt)
Find the row having given set ID
IsStr(TPresSettingsProperty)
Find whether the given property is descriptor or not
RemoveSetL(TInt)
IMPORT_C TInt | RemoveSetL | ( | TInt | aSetId | ) | [static] |
Removes a settings Set from the Repository
SettingsSetL(TInt, TPresSettingsSet &)
Returns a Pres settings set
UpdatePropertyL(TInt, TPresSettingsProperty, TInt)
Updates a single integer property in a settings set.
UpdatePropertyL(TInt, TPresSettingsProperty, const TDesC &)
Updates a single descriptor property in a settings set.
UpdateSetL(TPresSettingsSet, TInt)
Updats a set in the repository
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.