sud.getAppAuthorizeSetting
JS
Object sud.getAppAuthorizeSetting()获取应用授权信息
返回值
- Object: 返回应用授权信息
应用授权信息的属性说明:
| 属性 | 键值类型 | 说明 |
|---|---|---|
| albumAuthorized | string | 允许使用相册的开关(仅 iOS 有效),合法值:'authorized'/'denied'/'not determined' |
| cameraAuthorized | string | 允许使用摄像头的开关,合法值:'authorized'/'denied'/'not determined' |
| locationAuthorized | string | 允许使用定位的开关,合法值:'authorized'/'denied'/'not determined' |
| locationReducedAccuracy | boolean | 定位准确度,true 表示模糊定位,false 表示精确定位(仅 iOS 有效) |
| microphoneAuthorized | string | 允许使用麦克风的开关,合法值:'authorized'/'denied'/'not determined' |
