DBusObject.getInterface

gio.dbus_interface.DBusInterface getInterface(string interfaceName)

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

Parameters

interfaceNameA D-Bus interface name.

Returns

null if not found, otherwise a

#GDBusInterface that must be freed with [gobject.object.ObjectWrap.unref].