Permission.acquireFinish

bool acquireFinish(gio.async_result.AsyncResult result)

Collects the result of attempting to acquire the permission represented by permission.

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

Parameters

resultthe #GAsyncResult given to the #GAsyncReadyCallback

Returns

true if the permission was successfully acquired

Throws