com.aispeech.dui.dsk.duiwidget

## Interface CommandObserver

-     public interface CommandObserver

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `COMMAND_SCHEME`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onCall(java.lang.String command, java.lang.String data)` 当客户端收到来自DUI服务器的command指令时，将会回调这个方法

- - ### Field Detail

    - #### COMMAND_SCHEME

          static final java.lang.String COMMAND_SCHEME

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### onCall

          void onCall(java.lang.String command,
                      java.lang.String data)

      当客户端收到来自DUI服务器的command指令时，将会回调这个方法
      Parameters:
        `command` - command的名字，比如：“open.settings”，这个名字中已经去掉了“command://”前缀
        `data` - 参数，json数据