Gio.DBusMethodInvocation.get_object_path

### Method

# Gio DBusMethodInvocationget_object_path

since: 2.26

#### Declaration [src]

    const gchar*
    g_dbus_method_invocation_get_object_path (
      GDBusMethodInvocation* invocation
    )

#### Description [src]

Gets the object path the method was invoked on.

Available since: 2.26

#### Return value

Type: `const gchar*`

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

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