|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metaio.sdk.UnityProxy
public final class UnityProxy
This class defines some proxy methods that are used in the Unity plugin on Android.
Constructor Summary | |
---|---|
UnityProxy()
|
Method Summary | |
---|---|
static void |
registerSensorsComponent(long jarg2,
ISensorsComponent jarg2_)
|
static void |
StartCamera(Activity activity,
int index,
int width,
int height)
Start camera in UI thread |
static void |
startCamera(int index,
int width,
int height)
Native activate camera function |
static void |
stopCamera()
|
static void |
StopCamera(Activity activity)
Stop camera in UI thread |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnityProxy()
Method Detail |
---|
public static void StartCamera(Activity activity, int index, int width, int height)
activity
- Activity instanceindex
- Device indexwidth
- Desired widthheight
- Desired heightpublic static void StopCamera(Activity activity)
activity
- Activity instancepublic static final void startCamera(int index, int width, int height)
index
- Device indexwidth
- Desired widthheight
- Desired heightpublic static final void stopCamera()
public static final void registerSensorsComponent(long jarg2, ISensorsComponent jarg2_)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |