技能模块
获取技能中心
获取技能中心。其中包含技能列表数据。
XYMobileSdk.getSkillSdk().getSkillCenter(String productId, JsonXYCallback<SkillCenterListBean> callback);
SkillCenterListBean
{
"skill_list": [
{
"category_name": "系统技能",
"category_url": "",
"category_id": 0,
"skill_collect": [
{
"skill_version": "v1.0",
"skill_update": 0,
"skill_name": "有声内容",
"skill_id": "os.skill.14",
"skill_score": 0,
"skill_icon": "http://fdfs.xmcdn.com/group57/M0A/44/18/wKgLgVydw9bhkzAIAAAuF7djPdE529.png",
"usage_detail_list": [
{
"usage_detail": "我想听郭德纲的相声"
},
{
"usage_detail": "给我来一段评书"
},
{
"usage_detail": "我要听广播"
},
{
"usage_detail": "我想听睡前故事\n\n"
}
]
},
{
"skill_version": "v1.0",
"skill_update": 0,
"skill_name": "儿歌",
"skill_id": "os.skill.15",
"skill_score": 0,
"skill_icon": "http://fdfs.xmcdn.com/group56/M07/44/98/wKgLdlydxDWwkIXHAAA7cSpmfVk510.png",
"usage_detail_list": [
{
"usage_detail": "我想听儿歌"
},
{
"usage_detail": "我想听睡前儿歌"
},
{
"usage_detail": "我想听宝宝巴士儿歌"
},
{
"usage_detail": "我想听少儿歌曲"
},
{
"usage_detail": "我想听碰碰狐"
},
{
"usage_detail": "播放数鸭子"
}
]
},
{
"skill_version": "v1.0",
"skill_update": 0,
"skill_name": "闹钟",
"skill_id": "os.skill.16",
"skill_score": 0,
"skill_icon": "http://fdfs.xmcdn.com/group56/M07/44/A2/wKgLdlydxHHRFIH7AAAwKIFQXmU394.png",
"usage_detail_list": [
{
"usage_detail": "定一个明天上午8点的闹钟"
},
{
"usage_detail": "明天上午9点用告白气球叫醒我"
},
{
"usage_detail": "删除明天上午的闹钟"
},
{
"usage_detail": "删除工作日闹钟"
},
{
"usage_detail": "后天有没有闹钟"
}
]
}
],
"category_icon": "",
"category_url_style": 0,
"category_type": 0,
"category_style": 0,
"category_img": ""
}
],
"banner_list": []
}