Package io.anyline2.camera
Class CameraFeatures2
-
- All Implemented Interfaces:
public class CameraFeatures2 extends CameraFeatures
Class to hold available features for the camera api 2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
CameraFeatures2.AutoExposureMode
Helper enum to be able to get a string representation of the auto exposure modes
public class
CameraFeatures2.Companion
-
Field Summary
Fields Modifier and Type Field Description private final String
api2SupportLevel
private final Float
maxDigitalZoom
private final IntArray
faceDetectionModes
private final Boolean
isOpticalStabilizationSupported
private final Integer
minIso
private final Integer
maxIso
private final Long
minExposureTime
private final Long
maxExposureTime
private final Float
minFocusDistance
private final List<CameraFeatures2.AutoExposureMode>
autoExposureModes
private final FloatArray
focalLengths
private final FloatArray
apertureSizes
private final Float
hyperFocalDistance
private final SizeF
sensorPhysicalSize
public final static CameraFeatures2.Companion
Companion
-
Constructor Summary
Constructors Constructor Description CameraFeatures2(CameraCharacteristics characteristics)
-
Method Summary
Modifier and Type Method Description final String
getApi2SupportLevel()
final Float
getMaxDigitalZoom()
final IntArray
getFaceDetectionModes()
final Boolean
isOpticalStabilizationSupported()
final Integer
getMinIso()
final Integer
getMaxIso()
final Long
getMinExposureTime()
final Long
getMaxExposureTime()
final Float
getMinFocusDistance()
final List<CameraFeatures2.AutoExposureMode>
getAutoExposureModes()
final FloatArray
getFocalLengths()
final FloatArray
getApertureSizes()
final Float
getHyperFocalDistance()
final SizeF
getSensorPhysicalSize()
-
Methods inherited from class io.anyline2.camera.CameraFeatures
getExposureStep, getFocusModes, getFpsRanges, getLensFacing, getMaxAutoExposureRegions, getMaxExposure, getMaxFocusRegions, getMaxFpsRange, getMinExposure, getPictureSizes, getPreviewSizes, getSceneModes, getSensorOrientation, getVideoSizes, isFlashSupported, isVideoStabilizationSupported, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CameraFeatures2
CameraFeatures2(CameraCharacteristics characteristics)
- Parameters:
characteristics
- the characteristics to read the features from
-
-
Method Detail
-
getApi2SupportLevel
final String getApi2SupportLevel()
-
getMaxDigitalZoom
final Float getMaxDigitalZoom()
-
getFaceDetectionModes
final IntArray getFaceDetectionModes()
-
isOpticalStabilizationSupported
final Boolean isOpticalStabilizationSupported()
-
getMinExposureTime
final Long getMinExposureTime()
-
getMaxExposureTime
final Long getMaxExposureTime()
-
getMinFocusDistance
final Float getMinFocusDistance()
-
getAutoExposureModes
final List<CameraFeatures2.AutoExposureMode> getAutoExposureModes()
-
getFocalLengths
final FloatArray getFocalLengths()
-
getApertureSizes
final FloatArray getApertureSizes()
-
getHyperFocalDistance
final Float getHyperFocalDistance()
-
getSensorPhysicalSize
final SizeF getSensorPhysicalSize()
-
-
-
-