Engine Class¶
This type is an EasyAR Sense API in C#: Engine . 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.
Methods¶
schemaHash¶
- C#
public static int schemaHash()
Gets the version schema hash, which can be used to ensure type declarations consistent with runtime library.
onPause¶
- C#
public static void onPause()
Handles the app onPause, pauses internal tasks.
onResume¶
- C#
public static void onResume()
Handles the app onResume, resumes internal tasks.
errorMessage¶
- C#
public static string errorMessage()
Gets error message on initialization failure.
versionString¶
- C#
public static string versionString()
Gets the version number of EasyARSense.
name¶
- C#
public static string name()
Gets the product name of EasyARSense. (Including variant, operating system and CPU architecture.)
variant¶
- C#
public static string variant()
Gets the release variant of EasyARSense.
isLicenseKeyMatched¶
- C#
public static bool isLicenseKeyMatched(string licenseKey, string packageName, string variant, EngineOperatingSystem operatingSystem)
Checks whether the license key matches the provided release variant, package name(or bundle id) and operating system.