-
Notifications
You must be signed in to change notification settings - Fork 151
Camera
fairy edited this page Sep 29, 2019
·
2 revisions
CameraHelper.getCameraInfo(context)
{
"cameraInfo":[
{
"cameraFacing":"back",
"cameraLevel":"limited",
"cameraFlashInfo":"true",
"outputFormats":[
"raw_sensor",
"jpeg",
"private",
"yuv_420_888",
"depth16"
]
}
]
}
数据键 | 数据类型 | 数据解释 | 版本适配 | 预期值 |
---|---|---|---|---|
cameraInfo | JSONArray | 摄像头信息 | >=21 | 😄 |
cameraFacing | String | 摄像头的位置 | >=21 | 😄 |
cameraLevel | String | 摄像头支持水平 | >=21 | 😄 |
cameraFlashInfo | String | 是否有闪光灯 | >=21 | 😄 |
outputFormats | JSONArray | 摄像头支持的格式 | >=21 | 😄 |
请自觉遵循《信息安全技术移动互联网应用(App)收集个人信息基本规范(草案)》