Interface DBusConnection.OnDBusSignalCallback

Enclosing class:
DBusConnection
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DBusConnection.OnDBusSignalCallback
  • Method Details

    • onDBusSignalCallback

      void onDBusSignalCallback(CallbackHandler __self, @Nonnull DBusConnection connection, @Nullable Str sender_name, @Nonnull Str object_path, @Nonnull Str interface_name, @Nonnull Str signal_name, @Nonnull Variant parameters, @Nullable Pointer user_data)
      Signature for callback function used in g_dbus_connection_signal_subscribe().
      Parameters:
      connection - A #GDBusConnection.
      sender_name - The unique bus name of the sender of the signal, or %NULL on a peer-to-peer D-Bus connection.
      object_path - The object path that the signal was emitted on.
      interface_name - The name of the interface.
      signal_name - The name of the signal.
      parameters - A #GVariant tuple with parameters for the signal.
      user_data - User data passed when subscribing to the signal.