Gio.DBusMethodInvocation.prototype.get_interface_name

function get_interface_name(): String {
    // Gjs wrapper for g_dbus_method_invocation_get_interface_name()
}
  

Gets the name of the D-Bus interface the method was invoked on.

If this method call is a property Get, Set or GetAll call that has been redirected to the method call handler then "org.freedesktop.DBus.Properties" will be returned. See Gio.DBusInterfaceVTable for more information.

Since 2.26

Returns

A string. Do not free, it is owned by invocation.