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 enumCameraFeatures2.AutoExposureModeHelper enum to be able to get a string representation of the auto exposure modes
public classCameraFeatures2.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringapi2SupportLevelprivate final FloatmaxDigitalZoomprivate final IntArrayfaceDetectionModesprivate final BooleanisOpticalStabilizationSupportedprivate final IntegerminIsoprivate final IntegermaxIsoprivate final LongminExposureTimeprivate final LongmaxExposureTimeprivate final FloatminFocusDistanceprivate final List<CameraFeatures2.AutoExposureMode>autoExposureModesprivate final FloatArrayfocalLengthsprivate final FloatArrayapertureSizesprivate final FloathyperFocalDistanceprivate final SizeFsensorPhysicalSizepublic final static CameraFeatures2.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description CameraFeatures2(CameraCharacteristics characteristics)
-
Method Summary
Modifier and Type Method Description final StringgetApi2SupportLevel()final FloatgetMaxDigitalZoom()final IntArraygetFaceDetectionModes()final BooleanisOpticalStabilizationSupported()final IntegergetMinIso()final IntegergetMaxIso()final LonggetMinExposureTime()final LonggetMaxExposureTime()final FloatgetMinFocusDistance()final List<CameraFeatures2.AutoExposureMode>getAutoExposureModes()final FloatArraygetFocalLengths()final FloatArraygetApertureSizes()final FloatgetHyperFocalDistance()final SizeFgetSensorPhysicalSize()-
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()
-
-
-
-