Interface DBusProxy.OnGSignal

Enclosing class:
DBusProxy
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 DBusProxy.OnGSignal
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onGSignal(Str sender_name, Str signal_name, Variant parameters)
    Emitted when a signal from the remote object and interface that @proxy is for, has been received.
  • Method Details

    • onGSignal

      void onGSignal(@Nullable Str sender_name, @Nonnull Str signal_name, @Nonnull Variant parameters)
      Emitted when a signal from the remote object and interface that @proxy is for, has been received.

      Since 2.72 this signal supports detailed connections. You can connect to
      the detailed signal `g-signal::x` in order to receive callbacks only when
      signal `x` is received from the remote object.
      Parameters:
      sender_name - The sender of the signal or %NULL if the connection is not a bus connection.
      signal_name - The name of the signal.
      parameters - A #GVariant tuple with parameters for the signal.