create


Description:

public static async ClientProxy create (string desktop_id, AccuracyLevel accuracy_level, Cancellable? cancellable) throws Error

A utility function to create a ClientProxy without having to deal with a Manager.

See also create_full which improves resource management.

This is identitcal to calling create_full without any flags set.

See create_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 callback.