GetDocumentsPath

Description

Returns the directory that contains the current users documents. On Windows this will be something like "C:\Users\Me\My Documents". This is different from the usual write path which is a system specified app write folder, for example "C:\Users\Me\AppData" on Windows.

The documents folder path can be used to write files that are easily accessible by the user. On Android 9 and below the documents path will be the internal storage root folder, on Android 10 and above it will be a folder in the Andorid/data folder that is separate for each app but still accessible to the user.

iOS does not have a user accessible folder so GetDocumentsPath will just return the normal write path where files will be inaccessible to the user.

Definition

string GetDocumentsPath()