Permission.acquireAsync

Attempts to acquire the permission represented by permission. This is the first half of the asynchronous version of g_permission_acquire(). Since 2.26

class Permission
void
acquireAsync

Parameters

cancellable Cancellable

a GCancellable, or NULL. [allow-none]

callback GAsyncReadyCallback

the GAsyncReadyCallback to call when done

userData void*

the user data to pass to callback

Meta