# GetDocumentsPath

## Description

Returns the directory that contains the current users documents. On Windows this will be something like "C:\Users\Me\My Documents", on iOS this will just be the app write directory. By default all apps write to the system specified app settings folder, for example "C:\Users\Me\AppData" on Windows, "/home/user/.config" on Linux, and a protected app data folder on Android. Where possible the contents pf the documents path is visible to the user, for example on Android 10 and below it will be the sdcard folder. iOS and Android 11 and higher can't provide a publicly accessible location to write to so will return the app write directory instead, which is not visible to the user.

## Definition

string GetDocumentsPath()

char* agk::GetDocumentsPath()