[ Version ( since = "2.26" ) ]
public virtual async bool acquire_async (Cancellable? cancellable = null) throws Error
Attempts to acquire the permission represented by this.
This is the first half of the asynchronous version of acquire.
this |
a Permission instance |
cancellable |
a Cancellable, or null |
callback |
the TaskReadyCallback to call when done |
user_data |
the user data to pass to |