# stopBlueScan ^6.8
停止蓝牙扫描
# 请求参数
N/A
# 接口调用示例
this.$bridge
.stopBlueScan()
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
# 获取接口返回结果
this.$bridge
.addEventListener('singleBlueScanStop', res=>console.log(res))
1
2
2
# 返回参数
- 成功时返回
Prop | Type | Default | Description |
---|---|---|---|
messageBody | Object | N/A | |
messageType | String | N/A | singleBlueScanStop |
- 失败时返回