openNativeSystemSetting 打开指定的系统设置
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)
})
#接口返回示例
N/A
浙公网安备 33010602011771号