Gio.DBusMethodInvocation.prototype.get_method_info

function get_method_info(): Gio.DBusMethodInfo {
    // Gjs wrapper for g_dbus_method_invocation_get_method_info()
}
  

Gets information about the method call, if any.

If this method invocation is a property Get, Set or GetAll call that has been redirected to the method call handler then null will be returned. See Gio.DBusMethodInvocation.prototype.get_property_info and Gio.DBusInterfaceVTable for more information.

Since 2.26

Returns

A Gio.DBusMethodInfo or null. Do not free, it is owned by invocation.