# getAllSiriShortcuts ^7.8
获取场景里的所有Siri Shortcut 列表
# 请求参数
N/A
# 接口调用示例
this.$bridge
  .getAllSiriShortcuts()
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })
 1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
# 接口返回示例
{
    "list": [
        {
            "sceneId": "xxxx",
            "homegroupId": "xxss",
            "invocationPhrase": "打开加湿器"
        },
        {
            "sceneId": "xxxx",
            "homegroupId": "xxss",
            "invocationPhrase": "打开空调"
        }
    ]
}
 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16