Schnittstelle SourceFuncs.OnSourceFuncsCheckFunc

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

@FunctionalInterface public static interface SourceFuncs.OnSourceFuncsCheckFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    Checks if the source is ready to be dispatched.
  • Methodendetails

    • onSourceFuncsCheckFunc

      boolean onSourceFuncsCheckFunc(CallbackHandler __self, @Nonnull Source source)
      Checks if the source is ready to be dispatched.

      Called after all the file descriptors are polled. The source
      should return %TRUE if it is ready to be dispatched. Note that some
      time may have passed since the previous prepare function was called,
      so the source should be checked again here.

      Since 2.36 this may be `NULL`, in which case the effect is
      as if the function always returns `FALSE`.
      Parameter:
      source - The #GSource
      Gibt zurück:
      %TRUE if ready to be dispatched, %FALSE otherwise