com.csjbot.coshandler.core

## 类 CsjRobot

- java.lang.Object
- - com.csjbot.coshandler.core.CsjRobot

-     public class CsjRobot
      extends java.lang.Object

  对外提供的机器人功能类 Created by jingwc on 2019/7/4.

- - ### 嵌套类概要

    嵌套类
    限定符和类型 | 类和说明
    --- | ---
    `static class` | `CsjRobot.RobotType` The enum Robot type.

  - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static boolean` | `isNewBodyAction` The constant isNewBodyAction.

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `static void` | `authentication(android.content.Context context, java.lang.String appKey, java.lang.String appSecret, com.csjbot.coshandler.listener.OnAuthenticationListener listener)` Authentication.
    `static void` | `enableAsr(boolean enable)` Enable/Disable speech recognition
    `static void` | `enableFace(boolean enable)` Enable/Disable face recognition
    `static void` | `enableSlam(boolean enable)` Enable/Disable Navigation module
    `Action` | `getAction()` Gets action.
    `static java.lang.String` | `getDefaultIpAddr()` Get the default address
    `static int` | `getDefaultPort()` Get the default port
    `Evelator` | `getEvelator()` Gets evelator.
    `Expression` | `getExpression()` Gets expression.
    `Extra` | `getExtra()` Gets extra.
    `Face` | `getFace()` Gets face.
    `static CsjRobot` | `getInstance()` Gets instance.
    `java.lang.String` | `getSN()` Gets sn.
    `Speech` | `getSpeech()` Gets speech.
    `State` | `getState()` Gets state.
    `com.csjbot.coshandler.tts.ISpeechSpeak` | `getTts()` Gets tts.
    `Version` | `getVersion()` Gets version.
    `void` | `init(android.content.Context context)` Init.
    `void` | `pushBattery(int battery)` Push battery.
    `void` | `pushCamera(android.graphics.Bitmap bitmap)` Push camera.
    `void` | `pushCharge(int charge)` Push charge.
    `void` | `pushConnect(int type)` Push connect.
    `void` | `pushDetectPerson(int state)` Push detect person.
    `void` | `pushDeviceInfo(java.lang.String info)` Push device info.
    `void` | `pushDoubleDoorState(int state)` Push double door state.
    `void` | `pushElevatorCtrl(int error, java.lang.String cmd_type, java.lang.String result)` Push elevator ctrl.
    `void` | `pushElevatorInfo(int min, int max)` Push elevator info.
    `void` | `pushElevatorOpenState(int errorcode)` Push elevator open state.
    `void` | `pushEmergencyStatus(int status)` Push emergency status.
    `void` | `pushExpression(int expression)` Push expression.
    `void` | `pushFace(boolean person)` Push face.
    `void` | `pushFace(java.lang.String json)` Push face.
    `void` | `pushFaceList(java.lang.String json)` Push face list.
    `void` | `pushFaceSave(java.lang.String json)` Push face save.
    `void` | `pushGoRotation(int code)` Push go rotation.
    `void` | `pushHeadTouch()` Push head touch.
    `void` | `pushHot(java.util.List<java.lang.String> hotWords)` Push hot words.
    `void` | `pushMapList(java.lang.String json)` Push map list.
    `void` | `pushMicroVolume(int volume)` Push micro volume.
    `void` | `pushMotoOverload(int code)` Push moto overload.
    `void` | `pushNaviCancelResult(java.lang.String json)` Push navi cancel result.
    `void` | `pushNaviGohomeResult(java.lang.String json)` Push navi gohome result.
    `void` | `pushNaviMapState(java.lang.String json)` Push navi map state.
    `void` | `pushNaviMessageSendResult(java.lang.String json)` Push navi message send result.
    `void` | `pushNaviMoveResult(java.lang.String json)` Push navi move result.
    `void` | `pushNaviSearch(java.lang.String json)` Push navi search.
    `void` | `pushNaviSpeed(double speed)` Push navi speed.
    `void` | `pushPosition(java.lang.String json)` Push position.
    `void` | `pushRobotType(java.lang.String linuxRobotType)` Push robot type.
    `void` | `pushSn(java.lang.String sn)` Push sn.
    `void` | `pushSnapshoto(java.lang.String json)` Push snapshoto.
    `void` | `pushSoftwareCheck(int errorCode)` Push software check.
    `void` | `pushSoftwareUpgrade(int errorCode)` Push software upgrade.
    `void` | `pushSoftwareUpgradeProgress(int downloadProgress)` Push software upgrade progress.
    `void` | `pushSpeech(java.lang.String json, int type)` Push speech.
    `void` | `pushSpeechGetResult(java.lang.String json)` Push speech get result.
    `void` | `pushVersion(java.lang.String version)` Push version.
    `void` | `pushWakeup(int angle)` Push wakeup.
    `void` | `pushWarningCheckSelf(java.lang.String json)` Push warning check self.
    `void` | `registerCameraListener(com.csjbot.coshandler.listener.OnCameraListener listener)` Register camera listener.
    `void` | `registerConnectListener(com.csjbot.coshandler.listener.OnConnectListener listener)` Register connect listener.
    `void` | `registerDetectPersonListener(com.csjbot.coshandler.listener.OnDetectPersonListener listener)` Register detect person listener.
    `void` | `registerFaceListener(com.csjbot.coshandler.listener.OnFaceListener listener)` Register face listener.
    `void` | `registerHeadTouchListener(com.csjbot.coshandler.listener.OnHeadTouchListener listener)` Register head touch listener.
    `void` | `registerSpeechListener(com.csjbot.coshandler.listener.OnSpeechListener listener)` Register speech listener.
    `void` | `registerWakeupListener(com.csjbot.coshandler.listener.OnWakeupListener listener)` Register wakeup listener.
    `void` | `sendDirectMessage(java.lang.String msg)` Send direct message.
    `void` | `setDirectListener(DirectListener listener)` Sets direct listener.
    `static void` | `setIpAndrPort(java.lang.String ip, int port)` Set the IP address and port of the connection
    `void` | `setOnDetectPersonListeners(com.csjbot.coshandler.listener.OnDetectPersonListener listener)` Sets on detect person listeners.
    `void` | `setOnDeviceInfoListener(com.csjbot.coshandler.listener.OnDeviceInfoListener listener)` Sets on device info listener.
    `void` | `setOnDoubleDoorStateListener(com.csjbot.coshandler.listener.OnDoubleDoorStateListener listener)` Sets on double door state listener.
    `void` | `setOnElevatorCtrlListener(com.csjbot.coshandler.listener.OnElevatorCtrlListener listener)` Sets on elevator ctrl listener.
    `void` | `setOnElevatorStateListener(com.csjbot.coshandler.listener.OnElevatorStateListener listener)` Sets on elevator state listener.
    `void` | `setOnEmergencyStatusListener(com.csjbot.coshandler.listener.OnEmergencyStatusListener listener)` Sets on emergency status listener.
    `void` | `setOnExpressionListener(com.csjbot.coshandler.listener.OnExpressionListener listener)` Sets on expression listener.
    `void` | `setOnFaceSaveListener(com.csjbot.coshandler.listener.OnFaceSaveListener listener)` Sets on face save listener.
    `void` | `setOnGetAllFaceListener(com.csjbot.coshandler.listener.OnGetAllFaceListener listener)` Sets on get all face listener.
    `void` | `setOnGetVersionListener(com.csjbot.coshandler.listener.OnGetVersionListener listener)` Sets on get version listener.
    `void` | `setOnGoRotationListener(com.csjbot.coshandler.listener.OnGoRotationListener listener)` Sets on go rotation listener.
    `void` | `setOnHotWordsListener(com.csjbot.coshandler.listener.OnHotWordsListener listener)` Sets on hot words listener.
    `void` | `setOnMapListListener(com.csjbot.coshandler.listener.OnMapListListener listListener)` Sets on map list listener.
    `void` | `setOnMapStateListener(com.csjbot.coshandler.listener.OnMapStateListener listener)` Sets on map state listener.
    `void` | `setOnMicroVolumeListener(com.csjbot.coshandler.listener.OnMicroVolumeListener listener)` Sets on micro volume listener.
    `void` | `setOnMotoOverloadListener(com.csjbot.coshandler.listener.OnMotoOverloadListener listener)` Sets on moto overload listener.
    `void` | `setOnNaviCancelListener(com.csjbot.coshandler.listener.OnNaviListener listener)` Sets on navi cancel listener.
    `void` | `setOnNaviGoHomeListener(com.csjbot.coshandler.listener.OnNaviListener listener)` Sets on navi go home listener.
    `void` | `setOnNaviMoveResultListener(com.csjbot.coshandler.listener.OnNaviListener listener)` Sets on navi move result listener.
    `void` | `setOnNaviMoveToResultListener(com.csjbot.coshandler.listener.OnNaviListener listener)` Sets on navi move to result listener.
    `void` | `setOnNaviSearchListener(com.csjbot.coshandler.listener.OnNaviSearchListener listener)` Sets on navi search listener.
    `void` | `setOnPositionListener(com.csjbot.coshandler.listener.OnPositionListener listener)` Sets on position listener.
    `void` | `setOnRobotStateBatteryListener(com.csjbot.coshandler.listener.OnRobotStateListener listener)` Sets on robot state battery listener.
    `void` | `setOnRobotStateChargeListener(com.csjbot.coshandler.listener.OnRobotStateListener listener)` Sets on robot state charge listener.
    `void` | `setOnRobotTypeListener(com.csjbot.coshandler.listener.OnRobotTypeListener listener)` Sets on robot type listener.
    `void` | `setOnSnapshotoListener(com.csjbot.coshandler.listener.OnSnapshotoListener listener)` Sets on snapshoto listener.
    `void` | `setOnSNListener(com.csjbot.coshandler.listener.OnSNListener listener)` Sets on sn listener.
    `void` | `setOnSpeechGetResultListener(com.csjbot.coshandler.listener.OnSpeechGetResultListener listener)` Sets on speech get result listener.
    `void` | `setOnSpeedGetListener(com.csjbot.coshandler.listener.OnSpeedGetListener listener)` Sets on speed get listener.
    `void` | `setOnUpgradeSoftwareCheckListener(com.csjbot.coshandler.listener.OnUpgradeListener listener)` Sets on upgrade software check listener.
    `void` | `setOnUpgradeSoftwareUpgradeListener(com.csjbot.coshandler.listener.OnUpgradeListener listener)` Sets on upgrade software upgrade listener.
    `void` | `setOnWarningCheckSelfListener(com.csjbot.coshandler.listener.OnWarningCheckSelfListener listener)` Sets on warning check self listener.
    `static void` | `setRobotType(CsjRobot.RobotType robotType)` Sets robot type.
    `void` | `setTts(com.csjbot.coshandler.tts.ISpeechSpeak tts)` Sets tts.
    `void` | `unRegisterCameraListener(com.csjbot.coshandler.listener.OnCameraListener listener)` Un register camera listener.
    `void` | `unRegisterConnectListener(com.csjbot.coshandler.listener.OnConnectListener listener)` Un register connect listener.
    `void` | `unRegisterDetectPersonListener(com.csjbot.coshandler.listener.OnDetectPersonListener listener)` Un register detect person listener.
    `void` | `unRegisterFaceListener(com.csjbot.coshandler.listener.OnFaceListener listener)` Un register face listener.
    `void` | `unRegisterHeadTouchListener(com.csjbot.coshandler.listener.OnHeadTouchListener listener)` Un register head touch listener.
    `void` | `unRegisterSpeechListener(com.csjbot.coshandler.listener.OnSpeechListener listener)` Un register speech listener.
    `void` | `unRegisterWakeupListener(com.csjbot.coshandler.listener.OnWakeupListener listener)` Un register wakeup listener.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### isNewBodyAction

          public static boolean isNewBodyAction

      The constant isNewBodyAction.

  - ### 方法详细资料

    - #### getDefaultIpAddr

          public static java.lang.String getDefaultIpAddr()

      Get the default address
      返回:
        Returns the default address, which is 192.168.99.101 by default

    - #### getDefaultPort

          public static int getDefaultPort()

      Get the default port
      返回:
        Returns the default port, which is 60002 by default

    - #### setRobotType

          public static void setRobotType(CsjRobot.RobotType robotType)

      Sets robot type.
      参数:
        `robotType` - the robot type

    - #### enableAsr

          public static void enableAsr(boolean enable)

      Enable/Disable speech recognition
      参数:
        `enable` - true is Enable

    - #### enableFace

          public static void enableFace(boolean enable)

      Enable/Disable face recognition
      参数:
        `enable` - true is Enable

    - #### enableSlam

          public static void enableSlam(boolean enable)

      Enable/Disable Navigation module
      参数:
        `enable` - true is Enable

    - #### setIpAndrPort

          public static void setIpAndrPort(java.lang.String ip,
                                           int port)

      Set the IP address and port of the connection
      参数:
        `ip` - ip address
        `port` - port of the connection

    - #### getInstance

          public static CsjRobot getInstance()

      Gets instance.
      返回:
        the instance

    - #### authentication

          public static void authentication(android.content.Context context,
                                            java.lang.String appKey,
                                            java.lang.String appSecret,
                                            com.csjbot.coshandler.listener.OnAuthenticationListener listener)

      Authentication.
      参数:
        `context` - the context
        `appKey` - the app key
        `appSecret` - the app secret
        `listener` - the listener

    - #### getSN

          public java.lang.String getSN()

      Gets sn.
      返回:
        the sn

    - #### init

          public void init(android.content.Context context)

      Init.
      参数:
        `context` - the context

    - #### getState

          public State getState()

      Gets state.
      返回:
        the state

    - #### getAction

          public Action getAction()

      Gets action.
      返回:
        the action

    - #### getFace

          public Face getFace()

      Gets face.
      返回:
        the face

    - #### getSpeech

          public Speech getSpeech()

      Gets speech.
      返回:
        the speech

    - #### getExpression

          public Expression getExpression()

      Gets expression.
      返回:
        the expression

    - #### getVersion

          public Version getVersion()

      Gets version.
      返回:
        the version

    - #### getExtra

          public Extra getExtra()

      Gets extra.
      返回:
        the extra

    - #### getTts

          public com.csjbot.coshandler.tts.ISpeechSpeak getTts()

      Gets tts.
      返回:
        the tts

    - #### setTts

          public void setTts(com.csjbot.coshandler.tts.ISpeechSpeak tts)

      Sets tts.
      参数:
        `tts` - the tts

    - #### getEvelator

          public Evelator getEvelator()

      Gets evelator.
      返回:
        the evelator

    - #### setOnMotoOverloadListener

          public void setOnMotoOverloadListener(com.csjbot.coshandler.listener.OnMotoOverloadListener listener)

      Sets on moto overload listener.
      参数:
        `listener` - the listener

    - #### setOnEmergencyStatusListener

          public void setOnEmergencyStatusListener(com.csjbot.coshandler.listener.OnEmergencyStatusListener listener)

      Sets on emergency status listener.
      参数:
        `listener` - the listener

    - #### registerConnectListener

          public void registerConnectListener(com.csjbot.coshandler.listener.OnConnectListener listener)

      Register connect listener.
      参数:
        `listener` - the listener

    - #### unRegisterConnectListener

          public void unRegisterConnectListener(com.csjbot.coshandler.listener.OnConnectListener listener)

      Un register connect listener.
      参数:
        `listener` - the listener

    - #### registerSpeechListener

          public void registerSpeechListener(com.csjbot.coshandler.listener.OnSpeechListener listener)

      Register speech listener.
      参数:
        `listener` - the listener

    - #### unRegisterSpeechListener

          public void unRegisterSpeechListener(com.csjbot.coshandler.listener.OnSpeechListener listener)

      Un register speech listener.
      参数:
        `listener` - the listener

    - #### registerWakeupListener

          public void registerWakeupListener(com.csjbot.coshandler.listener.OnWakeupListener listener)

      Register wakeup listener.
      参数:
        `listener` - the listener

    - #### unRegisterWakeupListener

          public void unRegisterWakeupListener(com.csjbot.coshandler.listener.OnWakeupListener listener)

      Un register wakeup listener.
      参数:
        `listener` - the listener

    - #### registerFaceListener

          public void registerFaceListener(com.csjbot.coshandler.listener.OnFaceListener listener)

      Register face listener.
      参数:
        `listener` - the listener

    - #### unRegisterFaceListener

          public void unRegisterFaceListener(com.csjbot.coshandler.listener.OnFaceListener listener)

      Un register face listener.
      参数:
        `listener` - the listener

    - #### registerDetectPersonListener

          public void registerDetectPersonListener(com.csjbot.coshandler.listener.OnDetectPersonListener listener)

      Register detect person listener.
      参数:
        `listener` - the listener

    - #### unRegisterDetectPersonListener

          public void unRegisterDetectPersonListener(com.csjbot.coshandler.listener.OnDetectPersonListener listener)

      Un register detect person listener.
      参数:
        `listener` - the listener

    - #### registerCameraListener

          public void registerCameraListener(com.csjbot.coshandler.listener.OnCameraListener listener)

      Register camera listener.
      参数:
        `listener` - the listener

    - #### unRegisterCameraListener

          public void unRegisterCameraListener(com.csjbot.coshandler.listener.OnCameraListener listener)

      Un register camera listener.
      参数:
        `listener` - the listener

    - #### registerHeadTouchListener

          public void registerHeadTouchListener(com.csjbot.coshandler.listener.OnHeadTouchListener listener)

      Register head touch listener.
      参数:
        `listener` - the listener

    - #### unRegisterHeadTouchListener

          public void unRegisterHeadTouchListener(com.csjbot.coshandler.listener.OnHeadTouchListener listener)

      Un register head touch listener.
      参数:
        `listener` - the listener

    - #### setOnMapStateListener

          public void setOnMapStateListener(com.csjbot.coshandler.listener.OnMapStateListener listener)

      Sets on map state listener.
      参数:
        `listener` - the listener

    - #### setOnSpeedGetListener

          public void setOnSpeedGetListener(com.csjbot.coshandler.listener.OnSpeedGetListener listener)

      Sets on speed get listener.
      参数:
        `listener` - the listener

    - #### setOnSpeechGetResultListener

          public void setOnSpeechGetResultListener(com.csjbot.coshandler.listener.OnSpeechGetResultListener listener)

      Sets on speech get result listener.
      参数:
        `listener` - the listener

    - #### setOnGetAllFaceListener

          public void setOnGetAllFaceListener(com.csjbot.coshandler.listener.OnGetAllFaceListener listener)

      Sets on get all face listener.
      参数:
        `listener` - the listener

    - #### setOnPositionListener

          public void setOnPositionListener(com.csjbot.coshandler.listener.OnPositionListener listener)

      Sets on position listener.
      参数:
        `listener` - the listener

    - #### setOnNaviMoveResultListener

          public void setOnNaviMoveResultListener(com.csjbot.coshandler.listener.OnNaviListener listener)

      Sets on navi move result listener.
      参数:
        `listener` - the listener

    - #### setOnNaviMoveToResultListener

          public void setOnNaviMoveToResultListener(com.csjbot.coshandler.listener.OnNaviListener listener)

      Sets on navi move to result listener.
      参数:
        `listener` - the listener

    - #### setOnNaviCancelListener

          public void setOnNaviCancelListener(com.csjbot.coshandler.listener.OnNaviListener listener)

      Sets on navi cancel listener.
      参数:
        `listener` - the listener

    - #### setOnNaviGoHomeListener

          public void setOnNaviGoHomeListener(com.csjbot.coshandler.listener.OnNaviListener listener)

      Sets on navi go home listener.
      参数:
        `listener` - the listener

    - #### setOnGoRotationListener

          public void setOnGoRotationListener(com.csjbot.coshandler.listener.OnGoRotationListener listener)

      Sets on go rotation listener.
      参数:
        `listener` - the listener

    - #### setOnNaviSearchListener

          public void setOnNaviSearchListener(com.csjbot.coshandler.listener.OnNaviSearchListener listener)

      Sets on navi search listener.
      参数:
        `listener` - the listener

    - #### setOnMicroVolumeListener

          public void setOnMicroVolumeListener(com.csjbot.coshandler.listener.OnMicroVolumeListener listener)

      Sets on micro volume listener.
      参数:
        `listener` - the listener

    - #### setOnExpressionListener

          public void setOnExpressionListener(com.csjbot.coshandler.listener.OnExpressionListener listener)

      Sets on expression listener.
      参数:
        `listener` - the listener

    - #### setOnHotWordsListener

          public void setOnHotWordsListener(com.csjbot.coshandler.listener.OnHotWordsListener listener)

      Sets on hot words listener.
      参数:
        `listener` - the listener

    - #### setOnRobotStateBatteryListener

          public void setOnRobotStateBatteryListener(com.csjbot.coshandler.listener.OnRobotStateListener listener)

      Sets on robot state battery listener.
      参数:
        `listener` - the listener

    - #### setOnRobotStateChargeListener

          public void setOnRobotStateChargeListener(com.csjbot.coshandler.listener.OnRobotStateListener listener)

      Sets on robot state charge listener.
      参数:
        `listener` - the listener

    - #### setOnWarningCheckSelfListener

          public void setOnWarningCheckSelfListener(com.csjbot.coshandler.listener.OnWarningCheckSelfListener listener)

      Sets on warning check self listener.
      参数:
        `listener` - the listener

    - #### setOnRobotTypeListener

          public void setOnRobotTypeListener(com.csjbot.coshandler.listener.OnRobotTypeListener listener)

      Sets on robot type listener.
      参数:
        `listener` - the listener

    - #### setOnDetectPersonListeners

          public void setOnDetectPersonListeners(com.csjbot.coshandler.listener.OnDetectPersonListener listener)

      Sets on detect person listeners.
      参数:
        `listener` - the listener

    - #### setOnGetVersionListener

          public void setOnGetVersionListener(com.csjbot.coshandler.listener.OnGetVersionListener listener)

      Sets on get version listener.
      参数:
        `listener` - the listener

    - #### setOnUpgradeSoftwareCheckListener

          public void setOnUpgradeSoftwareCheckListener(com.csjbot.coshandler.listener.OnUpgradeListener listener)

      Sets on upgrade software check listener.
      参数:
        `listener` - the listener

    - #### setOnUpgradeSoftwareUpgradeListener

          public void setOnUpgradeSoftwareUpgradeListener(com.csjbot.coshandler.listener.OnUpgradeListener listener)

      Sets on upgrade software upgrade listener.
      参数:
        `listener` - the listener

    - #### setOnSNListener

          public void setOnSNListener(com.csjbot.coshandler.listener.OnSNListener listener)

      Sets on sn listener.
      参数:
        `listener` - the listener

    - #### setOnDeviceInfoListener

          public void setOnDeviceInfoListener(com.csjbot.coshandler.listener.OnDeviceInfoListener listener)

      Sets on device info listener.
      参数:
        `listener` - the listener

    - #### setOnSnapshotoListener

          public void setOnSnapshotoListener(com.csjbot.coshandler.listener.OnSnapshotoListener listener)

      Sets on snapshoto listener.
      参数:
        `listener` - the listener

    - #### setOnFaceSaveListener

          public void setOnFaceSaveListener(com.csjbot.coshandler.listener.OnFaceSaveListener listener)

      Sets on face save listener.
      参数:
        `listener` - the listener

    - #### setOnMapListListener

          public void setOnMapListListener(com.csjbot.coshandler.listener.OnMapListListener listListener)

      Sets on map list listener.
      参数:
        `listListener` - the list listener

    - #### setOnElevatorCtrlListener

          public void setOnElevatorCtrlListener(com.csjbot.coshandler.listener.OnElevatorCtrlListener listener)

      Sets on elevator ctrl listener.
      参数:
        `listener` - the listener

    - #### setOnElevatorStateListener

          public void setOnElevatorStateListener(com.csjbot.coshandler.listener.OnElevatorStateListener listener)

      Sets on elevator state listener.
      参数:
        `listener` - the listener

    - #### setOnDoubleDoorStateListener

          public void setOnDoubleDoorStateListener(com.csjbot.coshandler.listener.OnDoubleDoorStateListener listener)

      Sets on double door state listener.
      参数:
        `listener` - the listener

    - #### pushConnect

          public void pushConnect(int type)

      Push connect.
      参数:
        `type` - the type

    - #### pushSpeech

          public void pushSpeech(java.lang.String json,
                                 int type)

      Push speech.
      参数:
        `json` - the json
        `type` - the type

    - #### pushWakeup

          public void pushWakeup(int angle)

      Push wakeup.
      参数:
        `angle` - the angle

    - #### pushSpeechGetResult

          public void pushSpeechGetResult(java.lang.String json)

      Push speech get result.
      参数:
        `json` - the json

    - #### pushPosition

          public void pushPosition(java.lang.String json)

      Push position.
      参数:
        `json` - the json

    - #### pushFace

          public void pushFace(java.lang.String json)

      Push face.
      参数:
        `json` - the json

    - #### pushFace

          public void pushFace(boolean person)

      Push face.
      参数:
        `person` - the person

    - #### pushDetectPerson

          public void pushDetectPerson(int state)

      Push detect person.
      参数:
        `state` - the state

    - #### pushCamera

          public void pushCamera(android.graphics.Bitmap bitmap)

      Push camera.
      参数:
        `bitmap` - the bitmap

    - #### pushHeadTouch

          public void pushHeadTouch()

      Push head touch.

    - #### pushFaceList

          public void pushFaceList(java.lang.String json)

      Push face list.
      参数:
        `json` - the json

    - #### pushNaviMoveResult

          public void pushNaviMoveResult(java.lang.String json)

      Push navi move result.
      参数:
        `json` - the json

    - #### pushNaviMessageSendResult

          public void pushNaviMessageSendResult(java.lang.String json)

      Push navi message send result.
      参数:
        `json` - the json

    - #### pushNaviCancelResult

          public void pushNaviCancelResult(java.lang.String json)

      Push navi cancel result.
      参数:
        `json` - the json

    - #### pushNaviGohomeResult

          public void pushNaviGohomeResult(java.lang.String json)

      Push navi gohome result.
      参数:
        `json` - the json

    - #### pushGoRotation

          public void pushGoRotation(int code)

      Push go rotation.
      参数:
        `code` - the code

    - #### pushMotoOverload

          public void pushMotoOverload(int code)

      Push moto overload.
      参数:
        `code` - the code

    - #### pushEmergencyStatus

          public void pushEmergencyStatus(int status)

      Push emergency status.
      参数:
        `status` - the status

    - #### pushNaviSearch

          public void pushNaviSearch(java.lang.String json)

      Push navi search.
      参数:
        `json` - the json

    - #### pushNaviMapState

          public void pushNaviMapState(java.lang.String json)

      Push navi map state.
      参数:
        `json` - the json

    - #### pushMicroVolume

          public void pushMicroVolume(int volume)

      Push micro volume.
      参数:
        `volume` - the volume

    - #### pushExpression

          public void pushExpression(int expression)

      Push expression.
      参数:
        `expression` - the expression

    - #### pushHot

          public void pushHot(java.util.List<java.lang.String> hotWords)

      Push hot words.
      参数:
        `hotWords` - the hot words

    - #### pushBattery

          public void pushBattery(int battery)

      Push battery.
      参数:
        `battery` - the battery

    - #### pushCharge

          public void pushCharge(int charge)

      Push charge.
      参数:
        `charge` - the charge

    - #### pushWarningCheckSelf

          public void pushWarningCheckSelf(java.lang.String json)

      Push warning check self.
      参数:
        `json` - the json

    - #### pushRobotType

          public void pushRobotType(java.lang.String linuxRobotType)

      Push robot type.
      参数:
        `linuxRobotType` - the linux robot type

    - #### pushVersion

          public void pushVersion(java.lang.String version)

      Push version.
      参数:
        `version` - the version

    - #### pushSoftwareCheck

          public void pushSoftwareCheck(int errorCode)

      Push software check.
      参数:
        `errorCode` - the error code

    - #### pushSoftwareUpgrade

          public void pushSoftwareUpgrade(int errorCode)

      Push software upgrade.
      参数:
        `errorCode` - the error code

    - #### pushSoftwareUpgradeProgress

          public void pushSoftwareUpgradeProgress(int downloadProgress)

      Push software upgrade progress.
      参数:
        `downloadProgress` - the download progress

    - #### pushSn

          public void pushSn(java.lang.String sn)

      Push sn.
      参数:
        `sn` - the sn

    - #### pushDeviceInfo

          public void pushDeviceInfo(java.lang.String info)

      Push device info.
      参数:
        `info` - the info

    - #### pushSnapshoto

          public void pushSnapshoto(java.lang.String json)

      Push snapshoto.
      参数:
        `json` - the json

    - #### pushFaceSave

          public void pushFaceSave(java.lang.String json)

      Push face save.
      参数:
        `json` - the json

    - #### pushMapList

          public void pushMapList(java.lang.String json)

      Push map list.
      参数:
        `json` - the json

    - #### pushNaviSpeed

          public void pushNaviSpeed(double speed)

      Push navi speed.
      参数:
        `speed` - the speed

    - #### pushElevatorCtrl

          public void pushElevatorCtrl(int error,
                                       java.lang.String cmd_type,
                                       java.lang.String result)

      Push elevator ctrl.
      参数:
        `error` - the error
        `cmd_type` - the cmd type
        `result` - the result

    - #### pushElevatorOpenState

          public void pushElevatorOpenState(int errorcode)

      Push elevator open state.
      参数:
        `errorcode` - the errorcode

    - #### pushElevatorInfo

          public void pushElevatorInfo(int min,
                                       int max)

      Push elevator info.
      参数:
        `min` - the min
        `max` - the max

    - #### pushDoubleDoorState

          public void pushDoubleDoorState(int state)

      Push double door state.
      参数:
        `state` - the state

    - #### setDirectListener

          public void setDirectListener(DirectListener listener)

      Sets direct listener.
      参数:
        `listener` - the listener

    - #### sendDirectMessage

          public void sendDirectMessage(java.lang.String msg)

      Send direct message.
      参数:
        `msg` - the msg