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

cancellablea #GCancellable, or null
callbackthe #GAsyncReadyCallback to call when done