Gio.DBusObject::get_interface

function vfunc_get_interface(interface_name: String): Gio.DBusInterface {
}
  

Gets the D-Bus interface with name interface_name associated with object, if any.

Since 2.30

interface_name

A D-Bus interface name.

Returns

null if not found, otherwise a Gio.DBusInterface that must be freed with GObject.Object.prototype.unref.