类 CInfoParams

  • 所有已实现的接口:
    java.lang.Cloneable

    public class CInfoParams
    extends BaseRequestParams
    CInfo服务请求参数 api文档:https://wiki.aispeech.com.cn/pages/viewpage.action?pageId=25268234#CINFOV1toV2升级-1.4cinfov1存储/缓存设计
    • 构造器详细资料

      • CInfoParams

        public CInfoParams()
    • 方法详细资料

      • toSkillContextJSON

        public org.json.JSONObject toSkillContextJSON​(java.lang.String skillId,
                                                      org.json.JSONArray setting)
        生成技能配置参数
        返回:
      • toSkillPriorityJSON

        public org.json.JSONObject toSkillPriorityJSON​(org.json.JSONArray skillPriorityOfSystemSetting)
        生成技能优先级配置参数
        返回:
      • toLocationJSON

        public org.json.JSONObject toLocationJSON​(org.json.JSONObject locationOfSystemSetting)
        生成定位信息配置参数
        返回:
      • toVocabsContactJSON

        public org.json.JSONObject toVocabsContactJSON​(boolean addOrDelete,
                                                       org.json.JSONArray data)
        生成cinfo v1 vocab参数
        返回: