Definition at line 8 of file MaxstAR.java.
◆ deinit()
static void com.maxst.ar.MaxstAR.deinit |
( |
| ) |
|
|
static |
Release AR engine resource
Definition at line 22 of file MaxstAR.java.
◆ init()
static void com.maxst.ar.MaxstAR.init |
( |
Context |
context, |
|
|
String |
appKey |
|
) |
| |
|
static |
Initialize AR engine resource
- Parameters
-
context | application context |
appKey | app key for this app (this key is generated from developer.maxst.com) |
Definition at line 15 of file MaxstAR.java.
◆ isInitialized()
static boolean com.maxst.ar.MaxstAR.isInitialized |
( |
| ) |
|
|
static |
Check AR engine has been initialized
Definition at line 33 of file MaxstAR.java.
◆ onPause()
static void com.maxst.ar.MaxstAR.onPause |
( |
| ) |
|
|
static |
Called when application become inactive or go to background state. Disable rendering
Definition at line 48 of file MaxstAR.java.
◆ onResume()
static void com.maxst.ar.MaxstAR.onResume |
( |
| ) |
|
|
static |
Enable rendering and do internal AR settings
Definition at line 40 of file MaxstAR.java.
◆ onSurfaceChanged()
static void com.maxst.ar.MaxstAR.onSurfaceChanged |
( |
int |
viewWidth, |
|
|
int |
viewHeight |
|
) |
| |
|
static |
Called when rendering surface's size changed (i.e. orientation change, resizing rendering surface)
- Parameters
-
viewWidth | width size (pixel unit) |
viewHeight | height size (pixel unit) |
Definition at line 57 of file MaxstAR.java.
◆ setScreenOrientation()
static void com.maxst.ar.MaxstAR.setScreenOrientation |
( |
int |
orientation | ) |
|
|
static |
Set device orientation
- Parameters
-
orientation | Screen orientation. 2 is Configuration.ORIENTATION_LANDSCAPE, 1 is Configuration.ORIENTATION_PORTRAIT |
Definition at line 66 of file MaxstAR.java.
The documentation for this class was generated from the following file: