Permission.acquireAsync
void acquireAsync(gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Attempts to acquire the permission represented by permission.
This is the first half of the asynchronous version of gio.permission.Permission.acquire.
Parameters
cancellable | a #GCancellable, or null |
callback | the #GAsyncReadyCallback to call when done |