ObjectManagerClient
Description:
[ CCode ( cname = "udisks_object_manager_client_new" , has_construct_function = false ) ]
public async ObjectManagerClient (DBusConnection connection, DBusObjectManagerClientFlags flags, string? name, string object_path, Cancellable? cancellable) throws Error
public async ObjectManagerClient (DBusConnection connection, DBusObjectManagerClientFlags flags, string? name, string object_path, Cancellable? cancellable) throws Error
Asynchronously creates DBusObjectManagerClient using get_proxy_type as the DBusProxyTypeFunc.
See @new for more details.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this
method from. You can then call ObjectManagerClient.end to get the result of the operation.
See ObjectManagerClient.sync for the synchronous, blocking version of this constructor.
Parameters:
connection | |
flags |
Flags from the DBusObjectManagerClientFlags enumeration. |
name |
A bus name (well-known or unique) or |
object_path |
An object path. |
cancellable |
A Cancellable or |
callback |
A TaskReadyCallback to call when the request is satisfied. |
user_data |
User data to pass to |