| FaceControlManager | |
| UnityCallback | |
| UnityFaceCallback | UnityFaceCallback Use to receive event callback Related API : registerCallback(UnityFaceCallback) unregisterCallback(UnityFaceCallback)To receive callback of Face Touch
mController.registerCallback(new UnityFaceCallback());
class UnityFaceCallback extends UnityFaceCallback {
@Override
public void on_touch_left_eye() {
Log.d("FaceControl", "on_touch_left_eye()");
}
@Override
public void on_touch_right_eye() {
Log.d("FaceControl", "on_touch_right_eye()");
}
@Override
public void on_touch_nose() {
Log.d("FaceControl", "on_touch_nose()");
}
@Override
public void on_touch_mouth() {
Log.d("FaceControl", "on_touch_mouth()");
}
@Override
public void on_touch_head() {
Log.d("FaceControl", "on_touch_head()");
}
@Override
public void on_touch_left_edge() {
Log.d("FaceControl", "on_touch_left_edge()");
}
@Override
public void on_touch_right_edge() {
Log.d("FaceControl", "on_touch_right_edge()");
}
@Override
public void on_touch_bottom() {
Log.d("FaceControl", "on_touch_bottom()");
}
}
|
| UnityFaceManager | Nuwa Face is a Activity which constructed with the Unity engine. |