Interface QtSignalListener<T>

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 interface QtSignalListener<T>
A callback that notifies clients when a signal is emitted from the QML component.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onSignalEmitted(String signalName, T value)
    Called on the Android UI thread when the signal has been emitted.
  • Method Details

    • onSignalEmitted

      void onSignalEmitted(String signalName, T value)
      Called on the Android UI thread when the signal has been emitted.
      Parameters:
      signalName - literal signal name
      value - the value delivered by the signal or null if the signal is parameterless