How to get access to device media storage?

Hi guys, I’d like to know if there’s currently a way of getting access to a mobile’s media storage? more specifically getting the full paths of files in the device that can be filtered by extension(.ogg, .mp3, .jpg, .png, etc…)?
I’ve found this class in the documentation but can’t figure out how could I get the path to files filtered by extension

Hm. Maybe this help?

Finds all the files within the given directory, with optional file extension filter.

Looks like something :slight_smile: Any Idea how could I get the root media storage directory so I can pass it to that function? Could I Just pass in Android for example, “/sdcard/” to find the files on the sdcard? or is there a better way?