【发布时间】:2017-11-09 05:38:47
【问题描述】:
如何在 camera2 中启用默认手电筒关闭或打开功能,我可以像默认相机一样启用其中的设置选项吗?
我看到了一些像here 和here 这样的例子,但是他们使用自己的按钮来打开或关闭闪光灯,这里我想通过启用它来使用默认按钮。
任何建议将不胜感激。
【问题讨论】:
-
不清楚您所说的“默认手电筒”是什么意思?你的意思是拍照时自动闪光?
-
没错..
automatically firing the flash when taking pictures天黑时
标签: android android-camera2 flashlight camera-flash