Method
GioPermissionacquire_async
since: 2.26
Declaration [src]
void
g_permission_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
This method completes asynchronously. Use g_permission_acquire_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
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.The argument can be NULL.
- 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.