public static interface

UnityCallback.UnityListener

com.nuwarobotics.service.facecontrol.UnityCallback.UnityListener
Known Indirect Subclasses

Summary

Public Methods
abstract void onDecoration(String whichDecorationName, String statusMsg, int statusCode)
On Face equip Decoration
abstract void onJointDecoration(String whichDecorationName, String statusMsg, int statusCode)
On Face equip Decoration
abstract void onLoadCharacter(int status)
load Character status
abstract void onLoadJsonDone(int statusCode)
Face load a JSON finish
abstract void onLoadMotionConfig(String id, int status)
Load Motion result
abstract void onLoadOfSound(String sound, int statusCode)
abstract void onLoadSkinDone(String id)
Face SKIN load finish
abstract void onLoadSkinFail(String id, int error)
Face SKIN load fail
abstract void onLoadSoundDone(int status)
Face un-load Sound finish
abstract void onMotionComplete(String id)
When Motion play complete
abstract void onMotionError(String id)
Face play a Motion Error
abstract void onMotionRepeat(String id)
Face play a Motion start repeat
abstract void onMotionStart(String id)
When load Motion start
abstract void onMotionStop(String id)
When load Motion stop
abstract void onSceneStart(String scene)
When Unity Ready.
abstract void onUnLoadAllSoundsDone(int statusCode)
Face un-load Sound finish
abstract void onUserTouchScreen(String body, int type, int x, int y)
User Touch Screen
abstract void on_touch_bottom()
When user touch bottom area
abstract void on_touch_head()
When user touch head
abstract void on_touch_left_edge()
When user touch left edge
abstract void on_touch_left_eye()
When user touch left eye
abstract void on_touch_mouth()
When user touch mouth
abstract void on_touch_nose()
When user touch nose
abstract void on_touch_right_edge()
When user touch right edge
abstract void on_touch_right_eye()
When user touch right eye

Public Methods

public abstract void onDecoration (String whichDecorationName, String statusMsg, int statusCode)

On Face equip Decoration

public abstract void onJointDecoration (String whichDecorationName, String statusMsg, int statusCode)

On Face equip Decoration

public abstract void onLoadCharacter (int status)

load Character status

Parameters
status 1 for success, -1 for load fail

public abstract void onLoadJsonDone (int statusCode)

Face load a JSON finish

public abstract void onLoadMotionConfig (String id, int status)

Load Motion result

public abstract void onLoadOfSound (String sound, int statusCode)

public abstract void onLoadSkinDone (String id)

Face SKIN load finish

public abstract void onLoadSkinFail (String id, int error)

Face SKIN load fail

public abstract void onLoadSoundDone (int status)

Face un-load Sound finish

public abstract void onMotionComplete (String id)

When Motion play complete

Parameters
id motion name

public abstract void onMotionError (String id)

Face play a Motion Error

Parameters
id motion name

public abstract void onMotionRepeat (String id)

Face play a Motion start repeat

Parameters
id motion name

public abstract void onMotionStart (String id)

When load Motion start

Parameters
id motion name

public abstract void onMotionStop (String id)

When load Motion stop

Parameters
id motion name

public abstract void onSceneStart (String scene)

When Unity Ready.

Parameters
scene Role Face Scene

public abstract void onUnLoadAllSoundsDone (int statusCode)

Face un-load Sound finish

public abstract void onUserTouchScreen (String body, int type, int x, int y)

User Touch Screen

Parameters
body touch area
type touch type
x touch coordinate x
y touch coordinate y

public abstract void on_touch_bottom ()

When user touch bottom area

public abstract void on_touch_head ()

When user touch head

public abstract void on_touch_left_edge ()

When user touch left edge

public abstract void on_touch_left_eye ()

When user touch left eye

public abstract void on_touch_mouth ()

When user touch mouth

public abstract void on_touch_nose ()

When user touch nose

public abstract void on_touch_right_edge ()

When user touch right edge

public abstract void on_touch_right_eye ()

When user touch right eye