Permission.acquireAsync

Attempts to acquire the permission represented by permission.

This is the first half of the asynchronous version of gio.permission.Permission.acquire.

class Permission
void
acquireAsync

Parameters

cancellable gio.cancellable.Cancellable

a #GCancellable, or null

callback gio.types.AsyncReadyCallback

the #GAsyncReadyCallback to call when done