GdbusModemSarProxy


Description:

[ CCode ( cname = "mm_gdbus_modem_sar_proxy_new" , has_construct_function = false ) ]
public async GdbusModemSarProxy (DBusConnection connection, DBusProxyFlags flags, string? name, string object_path, Cancellable? cancellable) throws Error

Asynchronously creates a proxy for the D-Bus interface org.freedesktop.ModemManager1.Modem.Sar.

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 (see push_thread_default). You can then call GdbusModemSarProxy.end to get the result of the operation.

See GdbusModemSarProxy.sync for the synchronous, blocking version of this constructor.

Parameters:

connection

A DBusConnection.

flags

Flags from the DBusProxyFlags enumeration.

name

A bus name (well-known or unique) or null if connection is not a message bus connection.

object_path

An object path.

cancellable

A Cancellable or null.

callback

A TaskReadyCallback to call when the request is satisfied.

user_data

User data to pass to callback.




2022 vala-language.org