acquireAsync

open fun acquireAsync(cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Attempts to acquire the permission represented by @permission.

This is the first half of the asynchronous version of g_permission_acquire().

Since

2.26

Parameters

cancellable

a #GCancellable, or null

callback

the #GAsyncReadyCallback to call when done