Gio.DBusInterfaceSkeleton.prototype.has_connection

function has_connection(connection: Gio.DBusConnection): Boolean {
    // Gjs wrapper for g_dbus_interface_skeleton_has_connection()
}
  

Checks if interface_ is exported on connection.

Since 2.32

connection

A Gio.DBusConnection.

Returns

true if interface_ is exported on connection, false otherwise.