13 + (void) init:(NSString*) appKey {
14 string appKeyString = [appKey cStringUsingEncoding:NSUTF8StringEncoding];
15 maxstAR::init(appKeyString);
23 return maxstAR::isInitialized();
26 + (void) onSurfaceChanged:(
int)viewWidth height:(
int)viewHeight {
27 maxstAR::onSurfaceChanged(viewWidth, viewHeight);
30 + (void) setScreenOrientation:(MasScreenOrientation)orientation {
31 maxstAR::setScreenOrientation((maxstAR::ScreenOrientation)orientation);
void deinit()
Deinitialize AR Engine.
bool isInitialized()
Check AR engine has been initialized.