# openNativeSystemSetting ^7.10
打开指定的系统设置
# 请求参数
Prop | Type | Required | Default | Description |
---|---|---|---|---|
param | String | N | notification, bluetooth, permission 参数可选 | 请求参数,ios无入参,android入参可选 |
# 接口调用示例
// ios无入参,android入参可选
this.$bridge
.openNativeSystemSetting()
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
// 或者
let params = 'notification'
this.$bridge
.openNativeSystemSetting(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 接口返回示例
N/A
1
2
3
2
3