Gio.BusNameLostCallback

function onBusNameLostCallback(connection: Gio.DBusConnection, name: String): void {
}
  

Invoked when the name is lost or connection has been closed.

Since 2.26

connection

The Gio.DBusConnection on which to acquire the name or null if the connection was disconnected.

name

The name being owned.