Method

GioDBusMethodInvocationget_interface_name

Declaration

const gchar*
g_dbus_method_invocation_get_interface_name (
  GDBusMethodInvocation* invocation
)

Description

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 GDBusInterfaceVTable for more information.

Available since:2.26

Return value

Type: const gchar*

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

The data is owned by the instance.
The value is a NUL terminated UTF-8 string.