StorageType Enum

This type is an EasyAR Sense API in C#: StorageType . Some descriptions may not apply to Unity environment on this page.

Some parts of the Sense API may have already been wrapped into Unity components, and directly usages may not be necessary.

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: 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).