Simple
Description:
[ CCode ( cname = "gclue_simple_new" , has_construct_function = false ) ]
public async Simple (string desktop_id, AccuracyLevel accuracy_level, Cancellable? cancellable) throws Error
public async Simple (string desktop_id, AccuracyLevel accuracy_level, Cancellable? cancellable) throws Error
Asynchronously creates a Simple instance.
Use Simple.end() to get the created Simple instance.
See Simple.sync() for the synchronous, blocking version of this function.
Parameters:
desktop_id |
The desktop file id (the basename of the desktop file). |
accuracy_level |
The requested accuracy level as AccuracyLevel. |
cancellable |
A Cancellable or null. |
callback |
A TaskReadyCallback to call when the results are ready. |
user_data |
User data to pass to |