Gck.Enumerator.prototype.next

function next(cancellable: Gio.Cancellable): Gck.Object {
    // Gjs wrapper for gck_enumerator_next()
}
  

Get the next object in the enumerator, or null if there are no more objects.

null is also returned if the function fails. Use the @error to determine whether a failure occurred or not.

cancellable

A Gio.Cancellable or null

Returns

The next object, which must be released using g_object_unref, or null.