getFavicon

fun getFavicon(pageUri: String, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)(source)

Asynchronously obtains a favicon image.

Asynchronously obtains an image 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 webkit_favicon_database_get_favicon_finish() to get the result of the operation.

Parameters

pageUri

URI of the page for which we want to retrieve the favicon

cancellable

A #GCancellable or null.

callback

A #GAsyncReadyCallback to call when the request is satisfied or null if you don't care about the result.