微信小程序
wx.getDeviceVoIPList
# wx.getDeviceVoIPList(Object object)
基础库 2.30.3 开始支持,低版本需做兼容处理。
以 Promise 风格 调用:不支持
小程序插件:不支持
相关文档: 小程序音视频通话(for 硬件)
# 功能描述
查询当前用户授权的音视频通话设备(组)信息
# 参数
# Object object
# object.success 回调函数
# 参数
# Object res
# 示例代码
wx.getDeviceVoIPList({
success(res) {
console.log(res)
},
fail(res) {
console.log(res)
}
})