获取当前打开的摄像机的ID [英] Get ID of currently open camera

查看:116
本文介绍了获取当前打开的摄像机的ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从android相机实例获取当前打开的android相机的ID?我在参数中看不到它,而getCameraInfo要求将id作为参数.

How can I get the ID of the currently open android camera from an android camera instance? I can't see it in the parameters and getCameraInfo requires the id as a parameter.

推荐答案

无法获取当前打开的android相机的ID.我打开ID时最终存储了ID.

There isn't a way to get the id of the currently open android camera. I ended up storing the id when I opened it.

这篇关于获取当前打开的摄像机的ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆