Schnittstelle Gio.OnIOSchedulerJobFunc

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

@FunctionalInterface public static interface Gio.OnIOSchedulerJobFunc
  • Methodendetails

    • onIOSchedulerJobFunc

      boolean onIOSchedulerJobFunc(CallbackHandler __self, @Nonnull ch.bailu.gtk.gio.IOSchedulerJob job, @Nullable Cancellable cancellable, @Nullable Pointer data)
      I/O Job function.

      Long-running jobs should periodically check the @cancellable
      to see if they have been cancelled.
      Parameter:
      job - a #GIOSchedulerJob.
      cancellable - optional #GCancellable object, %NULL to ignore.
      data - data passed to the callback function
      Gibt zurück:
      %TRUE if this function should be called again to complete the job, %FALSE if the job is complete (or cancelled)