al_get_native_file_dialog_path(3) al_get_native_file_dialog_path(3)

al_get_native_file_dialog_path - Allegro 5 API

#include <allegro5/allegro_native_dialog.h>
const char *al_get_native_file_dialog_path(
   const ALLEGRO_FILECHOOSER *dialog, size_t i)

Returns one of the selected paths with index i. The index should range from 0 to the return value of al_get_native_file_dialog_count(3) -1.

Note: On Android, this function returns a content:// Universal Resource Identifier instead of a file path due to the constraints of Scoped Storage. Selected files may be accessed using al_android_open_fd(3).

Allegro reference manual