RBkBookmark Class Reference
class RBkBookmark : public RBkNode |
The bookmark tree maintained by the database is made up to folders containing bookmarks. The RBkBookmark class is a handle to a bookmark in the database. The RBkDatabase handle will return an RBkBookmark handle to you when you create a new bookmark or on a call to OpenBookmarkL(). As with all items in the database, the client application never owns the bookmark item itself. All actions are performed through this handle.
Constructor & Destructor Documentation
Member Functions Documentation
AuthenticationL()
Returns the assigned authentication object. This object is based on the bookmark's URI
Bookmark()
This method is an internal utility method for converting the objects item pointer to the correct type. It is not intended for external use.
GetNapL()
Method for getting the bookmark's nap.
IsHomePage()
IMPORT_C TBool | IsHomePage | ( | ) | |
Method to query whether this bookmark is the home page
LastVisited()
IMPORT_C TTime | LastVisited | ( | ) | const |
Returns the last visited time for this bookmark
ProxyL()
Method for getting the bookmark's proxy. The proxy will be set to the default proxy when CBookmark is first created
SetAuthenticationL(const CAuthentication &)
Set the bookmark's authentication object.
Parameters
const CAuthentication & aAuthentication | Reference to a new authentication object |
SetLastVisitedL(TTime)
IMPORT_C void | SetLastVisitedL | ( | TTime | aTime | ) | |
Sets the last visited time for this bookmark to the time specified. This function is intended to only be used for managing bookmarks, and will leave if not called in Management mode. Use RBkBookmark::UpdateVisited() to set the last-modified time to the current time.
-
leave
- KErrPermissionDenied This function will leave when the bookmark database is not opened as Bookmark::EVisibilityManager.
RBkBookmark::UpdateVisited
Parameters
TTime aTime | The new visited time |
SetNapL(TUint32)
Method for setting the bookmark's nap.
Parameters
TUint32 aNap | Id for identifying the nap entry in the commdb |
SetProxyL(TUint32)
IMPORT_C void | SetProxyL | ( | TUint32 | aProxy | ) | |
Method for setting the bookmark's proxy.
Parameters
TUint32 aProxy | Id for identifying the proxy entry in the commdb |
SetUriL(const TDesC8 &)
IMPORT_C void | SetUriL | ( | const TDesC8 & | aUri | ) | |
Method for setting the bookmark's Uri
Parameters
const TDesC8 & aUri | Descriptor containing the new Uri |
UpdateVisited()
IMPORT_C void | UpdateVisited | ( | ) | |
Sets the last visited time to be the current time
Uri()
IMPORT_C const TDesC8 & | Uri | ( | ) | const |
Method for getting the bookmark's Uri
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.