Table of Contents

Enum StorageType

Namespace
easyar

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.

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 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 (json/image path or video file path) or url (only for video files)