AndroidPreferredInstallLocation Enumeration

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

Values
Auto

Let the OS decide, app doesn't have any preferences.

PreferExternal

Prefer external, if possible. Install to internal otherwise.

ForceInternal

Force installation into internal memory. Needed for things like Live Wallpapers.