Schnittstelle DBusProxy.OnGSignal

Umschließende Klasse:
DBusProxy
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface DBusProxy.OnGSignal
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    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.
  • Methodendetails

    • 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.
      Parameter:
      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.