Gio.DBusObjectManager.prototype.get_interface

function get_interface(object_path: String, interface_name: String): Gio.DBusInterface {
    // Gjs wrapper for g_dbus_object_manager_get_interface()
}
  

Gets the interface proxy for interface_name at object_path, if any.

Since 2.30

object_path

Object path to lookup.

interface_name

D-Bus interface name to lookup.

Returns

A Gio.DBusInterface instance or null. Free with GObject.Object.prototype.unref.