Gio.Permission.prototype.acquire_finish
function acquire_finish(result: Gio.AsyncResult): Boolean {
// Gjs wrapper for g_permission_acquire_finish()
}
Collects the result of attempting to acquire the permission represented by permission.
This is the second half of the asynchronous version of Gio.Permission.prototype.acquire.
Since 2.26
- result
the Gio.AsyncResult given to the Gio.AsyncReadyCallback
- Returns
true if the permission was successfully acquired