WebKit2.UserContentFilterStore.load

### Method

# WebKit2 UserContentFilterStore load

since: 2.24

#### Declaration [src]

    void
    webkit_user_content_filter_store_load (
      WebKitUserContentFilterStore* store,
      const gchar* identifier,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Asynchronously load a content filter given its `identifier`.

The filter must have been previously stored using webkit_user_content_filter_store_save().

When the operation is finished, `callback` will be invoked, which then can use `webkit_user_content_filter_store_load_finish()` to obtain the resulting filter.

Available since: 2.24

This method completes asynchronously. Use `webkit_user_content_filter_store_load_finish()` inside the `GAsyncReadyCallback` to obtain the result of the operation.

#### Parameters

`identifier`

  Type: `const gchar*`

  A filter identifier.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

`cancellable`

  Type: `GCancellable`

  A `GCancellable` or `NULL` to ignore.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

`callback`

  Type: `GAsyncReadyCallback`

  A `GAsyncReadyCallback` to call when the load is completed.

  The argument can be `NULL`.

`user_data`

  Type: `gpointer`

  The data to pass to the callback function.

  The argument can be `NULL`.
  The data is owned by the caller of the method.