android文档中有两种方法:
public float getFocalLength ()
Since: API Level 8
public void getFocusDistances (float[] output)
Since: API Level 9如何区分它们?
为什么第二个方法输出一个数组?
发布于 2014-03-07 17:40:59
这两个API的含义不同。getFocalLength API告诉你你的镜头和焦点之间的距离。如果主题的距离在该范围内,则getFocusDistances API将告诉您主题焦点的距离范围。
https://stackoverflow.com/questions/22223294
复制相似问题