cn.easyar.engine.EasyAR Class

Public Functions

static boolean initialize(final Activity activity, String key)
static void onResume()
static void onPause()
static void setInternalRotateHandling(boolean enable) (since 1.3.0)

static boolean initialize(final Activity activity, String key)

Initializes EasyAR with activity and key . EasyAR must be initialized before other functions start to work.

static void onResume()

Handles the app onResume, resumes internal tasks.

static void onPause()

Handles the app onPause, pauses internal tasks.

static void setInternalRotateHandling(boolean enable) (since 1.3.0)

Enable/Disable the internal rotation handler. This is usefull when the default handler do not work as expected.