Enum StorageType
- Namespace
- easyar
StorageType indicates the storage location of images, json files, videos, or other files. StorageType specifies the root directory for file storage, and you can use relative paths relative to this root directory in all related interfaces.
Fields
App = 0app path Android: The program's persistent data directory iOS: The program's sandbox directory Windows: The executable (exe) directory Mac: The executable directory (if the app is a bundle, this directory is inside the bundle)
Assets = 1assets path Android: assets directory (inside the apk) iOS: executable directory Windows: the directory where EasyAR.dll is located Mac: the 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 paths or video file paths) or url (only for video files)