Permission.acquireAsync

Attempts to acquire the permission represented by permission.

This is the first half of the asynchronous version of Permission.acquire.

class Permission
void
acquireAsync

Parameters

cancellable Cancellable

a gio.Cancellable, or NULL

callback GAsyncReadyCallback

the GAsyncReadyCallback to call when done

userData void*

the user data to pass to callback

Meta

Since

2.26