create_sync


Description:

public static ClientProxy create_sync (string desktop_id, AccuracyLevel accuracy_level, Cancellable? cancellable = null) throws Error

The synchronous and blocking version of create().

See also create_full_sync which improves resource management.

This function is identical to calling create_full_sync without any flags set.

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 constructed proxy object or null if throws is set.