GdbusModemOmaProxy.for_bus
Description:
[ CCode ( cname = "mm_gdbus_modem_oma_proxy_new_for_bus" , has_construct_function = false ) ]
public async GdbusModemOmaProxy.for_bus (BusType bus_type, DBusProxyFlags flags, string name, string object_path, Cancellable? cancellable) throws Error
public async GdbusModemOmaProxy.for_bus (BusType bus_type, DBusProxyFlags flags, string name, string object_path, Cancellable? cancellable) throws Error
Like GdbusModemOmaProxy but takes a BusType instead of a DBusConnection.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method
from (see push_thread_default). You can then call
GdbusModemOmaProxy.for_bus.end to get the result of the operation.
See GdbusModemOmaProxy.for_bus_sync for the synchronous, blocking version of this constructor.
Parameters:
bus_type |
A BusType. |
flags |
Flags from the DBusProxyFlags enumeration. |
name |
A bus name (well-known or unique). |
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 |