Enum StorageType
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
StorageType indicates the storage location of images, json files, videos, or other files. StorageType specifies the root directory where files are stored, and you can use relative paths relative to this root directory in all related interfaces.
public enum StorageType
Fields
App = 0app path Android: program persistent data directory https://developer.android.google.cn/reference/android/content/pm/ApplicationInfo.html#dataDir__ iOS: program sandbox directory Windows: executable (exe) file directory Mac: executable file directory (if the app is a bundle, this directory is inside the bundle)
Assets = 1assets path Android: assets directory (inside the apk) iOS: executable file directory Windows: directory where EasyAR.dll is located Mac: directory where libEasyAR.dylib is located Note: If you are using Unity3D, this path is different. In Unity3D, it will point to the StreamingAssets directory.
Absolute = 2absolute path (json/image path or video file path) or URL (only for video files)