Table of Contents

Enum StorageType

Namespace
easyar
Assembly
EasyAR.Sense.dll

StorageType represents the storage location for 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.

public enum StorageType

Fields

App = 0

app-path Android: application `persistent data directory `__ iOS: application sandbox directory Windows: executable file (exe) directory Mac: executable file directory (if the app is a bundle, this directory is inside the bundle)

Assets = 1

assets-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 = 2

absolute path (for JSON/image paths or video file paths) or URL (only for video files)