获取设备列表
通过获取设备列表,您可以知道当前登录的账号下的设备状态
- 只需要通过getDeviceList方法即可获取
app.imcamWx.getDeviceList({isGetVoipStatus: true})
.then(res => {
if (res.errCode === 0) console.log('设备列表:', res.deviceList)
})通过获取设备列表,您可以知道当前登录的账号下的设备状态
app.imcamWx.getDeviceList({isGetVoipStatus: true})
.then(res => {
if (res.errCode === 0) console.log('设备列表:', res.deviceList)
})