Asynchronously obtains a XlibSurface of the favicon.
Asynchronously obtains a XlibSurface of the favicon for the given page URI. It returns the cached icon if it's in the database asynchronously waiting for the icon to be read from the database.
This is an asynchronous method. When the operation is finished, callback will be invoked. You can then call get_favicon.end to get the result of the operation.
You must call set_favicon_database_directory for the WebContext associated with this FaviconDatabase before attempting to use this function; otherwise, get_favicon.end will return webkit_favicon_database_error_not_initialized.
this | |
page_uri |
URI of the page for which we want to retrieve the favicon |
cancellable |
A Cancellable or null. |
callback |
A TaskReadyCallback to call when the request is satisfied or null if you don't care about the result. |
user_data |
The data to pass to |