Arduino Function: FileIO.rewindDirectory

Description

Reports the next file or folder in a directory. This communicates with the Linux distribution through Bridge. While functionally similar to the SD library, the underlying code and connections are different.

Syntax

file.openNextFile()

Parameters

file: an instance of the File class (returned by FileIO.open())

Returns

 char : the next file or folder in the path


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc