Permission.acquireFinish

Collects the result of attempting to acquire the permission represented by permission. This is the second half of the asynchronous version of g_permission_acquire(). Since 2.26

class Permission
int
acquireFinish

Parameters

result AsyncResultIF

the GAsyncResult given to the GAsyncReadyCallback

Return Value

Type: int

TRUE if the permission was successfully acquired

Throws

GException on failure.

Meta