StorageType Enum

Description

StorageType represents where the images, jsons, videos or other files are located.

StorageType specifies the root path, in all interfaces, you can use relative path relative to the root path.

Constant

Value

Description

App

0

The app path. Android: the application’s persistent data directory iOS: the application’s sandbox directory Windows: the application’s executable directory Mac: the application’s executable directory (if app is a bundle, this path is inside the bundle)

Assets

1

The assets path. Android: assets directory (inside apk) iOS: the application’s executable directory Windows: EasyAR.dll directory Mac: libEasyAR.dylib directory Note: this path is different if you are using Unity3D. It will point to the StreamingAssets folder.

Absolute

2

The absolute path (json/image path or video path) or url (video only).

Json

0x00000100

The flag for json string, used in ImageTarget.setup