Virtual Method

GioPermissionacquire_async

since: 2.26

Declaration [src]

void
acquire_async (
  GPermission* permission,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Attempts to acquire the permission represented by permission.

This is the first half of the asynchronous version of g_permission_acquire().

Available since: 2.26

Parameters

cancellable

Type: GCancellable

A GCancellable, or NULL.

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

Type: GAsyncReadyCallback

The GAsyncReadyCallback to call when done.

user_data

Type: gpointer

The user data to pass to callback.

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