Gio.DBusMessage.new_method_call

function new_method_call(name: String, path: String, interface_: String, method: String): Gio.DBusMessage {
    // Gjs wrapper for g_dbus_message_new_method_call()
}
  

Creates a new Gio.DBusMessage for a method call.

Since 2.26

name

A valid D-Bus name or null.

path

A valid object path.

interface_

A valid D-Bus interface name or null.

method

A valid method name.

Returns

A Gio.DBusMessage. Free with GObject.Object.prototype.unref.