acquire_async


Description:

[ 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.

Parameters:

this

a Permission instance

cancellable

a Cancellable, or null

callback

the TaskReadyCallback to call when done

user_data

the user data to pass to callback




2022 vala-language.org