AuthSetting

AuthSetting

用户授权设置信息,详情参考权限

属性

boolean scope.userInfo

是否授权用户信息,对应接口 wx.getUserInfo

boolean scope.userLocation

是否授权精确地理位置,对应接口 wx.getLocation, wx.chooseLocation

boolean scope.userFuzzyLocation

是否授权模糊地理位置,对应接口 wx.getFuzzyLocation

boolean scope.address

是否授权通讯地址,已取消此项授权,会默认返回true

boolean scope.invoiceTitle

是否授权发票抬头,已取消此项授权,会默认返回true

boolean scope.invoice

是否授权获取发票,已取消此项授权,会默认返回true

boolean scope.werun

是否授权微信运动步数,对应接口 wx.getWeRunData

boolean scope.record

是否授权录音功能,对应接口 wx.getRecorderManager

boolean scope.writePhotosAlbum

是否授权保存到相册 wx.saveImageToPhotosAlbum, wx.saveVideoToPhotosAlbum

boolean scope.camera

是否授权摄像头,对应[camera]((camera)) 组件

boolean scope.bluetooth

是否授权蓝牙,对应接口 wx.openBluetoothAdapterwx.createBLEPeripheralServer

boolean scope.addPhoneContact

是否添加通讯录联系人,对应接口 wx.addPhoneContact

boolean scope.addPhoneCalendar

是否授权系统日历,对应接口 wx.addPhoneRepeatCalendarwx.addPhoneCalendar

posted on 2025-01-09 08:53  AtlasLapetos  阅读(11)  评论(0)    收藏  举报