|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metaio.sdk.jni.IMetaioSDK
com.metaio.sdk.jni.IMetaioSDKAndroid
public class IMetaioSDKAndroid
Constructor Summary | |
---|---|
IMetaioSDKAndroid(long cPtr,
boolean cMemoryOwn)
|
Method Summary | |
---|---|
void |
delete()
|
static Camera |
getCamera(Activity activity)
Get camera object. |
static long |
getCPtr(IMetaioSDKAndroid obj)
|
String |
getCPUType()
This function is mostly for logging purposes.The CPU type as std::string. |
void |
initializeRenderer(int width,
int height,
ESCREEN_ROTATION screenRotation)
|
void |
initializeRenderer(int width,
int height,
ESCREEN_ROTATION screenRotation,
ERENDER_SYSTEM renderSystem)
|
static void |
loadNativeLibs()
Load required native libs |
void |
registerAudioCallback(IAudioCallback audioCallback)
|
void |
reloadTextures()
On Android we need to reload textures every time the OpenGL surface has been paused. |
static void |
startTorch(Activity activity)
Start torch mode if supported by the device |
static void |
stopTorch(Activity activity)
Stop torch mode |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IMetaioSDKAndroid(long cPtr, boolean cMemoryOwn)
Method Detail |
---|
public static long getCPtr(IMetaioSDKAndroid obj)
public void delete()
delete
in class IMetaioSDK
public static void loadNativeLibs()
public static Camera getCamera(Activity activity)
activity
- Activity that has started camera
null
if not yet startedpublic static void startTorch(Activity activity)
activity
- Activity that has started camerastopTorch
public static void stopTorch(Activity activity)
activity
- Activity that has started camerastartTorch
public void initializeRenderer(int width, int height, ESCREEN_ROTATION screenRotation, ERENDER_SYSTEM renderSystem)
width
- width of the rendererheight
- height of the rendererscreenRotation
- Screen rotationrenderSystem
- To use a specify OpenGL version or the NullRendererpublic void initializeRenderer(int width, int height, ESCREEN_ROTATION screenRotation)
width
- width of the rendererheight
- height of the rendererscreenRotation
- Screen rotationrenderSystem
- To use a specify OpenGL version or the NullRendererpublic void reloadTextures()
public String getCPUType()
public void registerAudioCallback(IAudioCallback audioCallback)
audioCallback
- The callback implementation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |