editSiriShortcut 编辑场景Siri Shortcut
editSiriShortcut ^7.8
编辑场景Siri Shortcut
#请求参数
| Prop | Type | Default | Comment | 
|---|---|---|---|
| homegroupId | String | N/A | 家庭ID | 
| sceneId | String | N/A | 场景ID | 
#接口调用示例
const params = {
    "homegroupId": "家庭ID",
    "sceneId": "场景ID"
}
this.$bridge
  .editSiriShortcut(params)
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })
#接口返回示例
{
    "editType": "delete/cacel/update",
    "invocationPhrase": "更新后的语音"
}
 
                     
                    
                 
                    
                 
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号