[ CCode ( cname = "mm_manager_new" , has_construct_function = false ) ]
[ Version ( since = "1.0" ) ]
public async Manager (DBusConnection connection, DBusObjectManagerClientFlags flags, Cancellable? cancellable) throws Error
Asynchronously creates a Manager.
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 Manager.end to get the result of the operation.
See Manager.sync for the synchronous, blocking version of this constructor.
connection |
A DBusConnection. |
flags |
Flags from the DBusObjectManagerClientFlags enumeration. |
cancellable |
A Cancellable or |
callback |
A TaskReadyCallback to call when the request is satisfied. |
user_data |
User data to pass to |