EasyARController Class¶
Description¶
Static delegate of EasyAR Sense Engine class, mainly used for Sense initialization.
Properties¶
IsReady¶
- C#
public static bool IsReady { get; }
EasyAR Sense is ready or not, false if license key validation fails or not run.
Methods¶
Initialize¶
- C#
public static bool Initialize()
EasyAR Sense initialization with EasyARSettings.LicenseKey . Usually no need to call manually if EasyARSettings.InitializeOnStartup is true.
Initialize¶
- C#
public static bool Initialize(string licenseKey)
EasyAR Sense initialization with licenseKey . Usually no need to call manually if EasyARSettings.InitializeOnStartup is true.
Deinitialize¶
- C#
public static void Deinitialize()
EasyAR Sense deinitialize.
This method has nothihng to do with resource dispose. Usually do not require to call manually. Use it if you want to initialize and deinitialize EasyAR multiple times.
HandleSenseLog¶
- C#
public static void HandleSenseLog(Action< LogLevel , string> func)
Handle Sense log. Pass in null will stop receive log.
EasyAR Sense library usually output log using system interface. Use this function to display log on UI or get log data. Notice, using this function will not remove log output.