DBusSignalCallback

typealias DBusSignalCallback = (connection: DBusConnection, senderName: String?, objectPath: String, interfaceName: String, signalName: String, <Error class: unknown class>) -> Unit

Signature for callback function used in g_dbus_connection_signal_subscribe().

  • param connection A #GDBusConnection.

  • param senderName The unique bus name of the sender of the signal, or null on a peer-to-peer D-Bus connection.

  • param objectPath The object path that the signal was emitted on.

  • param interfaceName The name of the interface.

  • param signalName The name of the signal.

  • param parameters A #GVariant tuple with parameters for the signal.