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:
GCancellableA
GCancellable, orNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackThe
GAsyncReadyCallbackto call when done. user_data-
Type:
gpointerThe user data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.