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().

class Permission
bool
acquireFinish

Parameters

result AsyncResultIF

the #GAsyncResult given to the #GAsyncReadyCallback

Return Value

Type: bool

%TRUE if the permission was successfully acquired

Throws

GException on failure.

Meta

Since

2.26