Gio.Permission::acquire_async

function vfunc_acquire_async(cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
}
  

Attempts to acquire the permission represented by permission.

This is the first half of the asynchronous version of Gio.Permission.prototype.acquire.

Since 2.26

cancellable

a Gio.Cancellable, or null

callback

the Gio.AsyncReadyCallback to call when done