Simple.sync
Description:
[ CCode ( has_construct_function = false ) ]
public Simple.sync (string desktop_id, AccuracyLevel accuracy_level, Cancellable? cancellable = null) throws Error
public Simple.sync (string desktop_id, AccuracyLevel accuracy_level, Cancellable? cancellable = null) throws Error
The synchronous and blocking version of Simple().
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. |
Returns:
|
The new Simple object or null if throws is set. |