Function

Dex-1Dexdbus_connection_callSince 0.4

  • Wrapper for Gio.DBusConnection.call.

    Parameters

    • connection: Gio.DBusConnection
    • bus_name: string

      a unique or well-known bus name or null if connection is not a message bus connection

    • object_path: string

      path of remote object

    • interface_name: string

      D-Bus interface to invoke method on

    • method_name: string

      the name of the method to invoke

    • parameters: GLib.Variant<any>

      a GLib.Variant tuple with parameters for the method or null if not passing parameters

    • reply_type: GLib.VariantType<any>

      the expected type of the reply (which will be a tuple), or null

    • flags: Gio.DBusCallFlags

      flags from the Gio.DBusCallFlags enumeration

    • timeout_msec: number

      the timeout in milliseconds, -1 to use the default timeout or G_MAXINT for no timeout

    Returns Dex.Future

    a Dex.Future that resolves to a GLib.Variant or rejects with error.

    0.4