Scroll to navigation

al_get_native_file_dialog_path(3alleg5) al_get_native_file_dialog_path(3alleg5)

NAME

al_get_native_file_dialog_path - Allegro 5 API

SYNOPSIS

#include <allegro5/allegro_native_dialog.h>
const char *al_get_native_file_dialog_path(

const ALLEGRO_FILECHOOSER *dialog, size_t i)

DESCRIPTION

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(3alleg5) -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(3alleg5).

Allegro reference manual