我正在编写新的Camera2应用程序接口。我想获得所有支持的闪光模式,在旧的应用程序接口中,我通过调用:Camera.Parameters.getSupportedFlashModes() link来做到这一点。但在Camera2应用程序接口中,我找不到如何做到这一点。
有什么建议吗?
发布于 2014-11-12 14:23:30
mCameraCharacteristics = mCameraManager.getCameraCharacteristics(mCameraID);
mCameraCharacteristics.get(CameraCharacteristics.FLASH_INFO_AVAILABLE))发布于 2015-01-27 20:34:33
闪光灯模式值可在
int[] flashModeValues = characteristics.get(CameraCharacteristics.CONTROL_AE_AVAILABLE_MODES);其中将列出以下值:(OFF,ON,ON_AUTO_FLASH,ON_ALWAYS_FLASH,ON_AUTO_FLASH_REDEYE)
https://stackoverflow.com/questions/26775203
复制相似问题