Interface FileEnumeratorClass.OnNextFile

Enclosing class:
FileEnumeratorClass
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 FileEnumeratorClass.OnNextFile
  • Method Details

    • onNextFile

      FileInfo onNextFile(CallbackHandler __self, @Nonnull FileEnumerator enumerator, @Nullable Cancellable cancellable)
      Parameters:
      enumerator - a #GFileEnumerator.
      cancellable - optional #GCancellable object, %NULL to ignore.
      Returns:
      A #GFileInfo or %NULL on error or end of enumerator. Free the returned object with g_object_unref() when no longer needed.