Class CameraConfig
-
- All Implemented Interfaces:
public class CameraConfigSchema for SDK Camera Configuration
-
-
Field Summary
Fields Modifier and Type Field Description public StringcaptureResolutionpublic StringpictureResolutionpublic StringdefaultCamerapublic BooleanzoomGesturepublic DoublefocalLengthpublic DoublezoomRatiopublic DoublemaxZoomRatiopublic DoublemaxFocalLengthpublic List<String>fallbackCameras
-
Constructor Summary
Constructors Constructor Description CameraConfig()
-
Method Summary
Modifier and Type Method Description StringgetCaptureResolution()The preferred resolution for video capture (720, 720p, 1080, 1080p). voidsetCaptureResolution(String captureResolution)The preferred resolution for video capture (720, 720p, 1080, 1080p). StringgetPictureResolution()The preferred resolution for taking images (720, 720p, 1080, 1080p). voidsetPictureResolution(String pictureResolution)The preferred resolution for taking images (720, 720p, 1080, 1080p). StringgetDefaultCamera()The preferred camera of the device (FRONT, BACK, EXTERNAL, EXTERNAL_FRONT). voidsetDefaultCamera(String defaultCamera)The preferred camera of the device (FRONT, BACK, EXTERNAL, EXTERNAL_FRONT). BooleangetZoomGesture()This flag enables or disables the zoom gesture if supported. voidsetZoomGesture(Boolean zoomGesture)This flag enables or disables the zoom gesture if supported. DoublegetFocalLength()The focal length. voidsetFocalLength(Double focalLength)The focal length. DoublegetZoomRatio()The zoom ratio. voidsetZoomRatio(Double zoomRatio)The zoom ratio. DoublegetMaxZoomRatio()The maximum zoom ratio. voidsetMaxZoomRatio(Double maxZoomRatio)The maximum zoom ratio. DoublegetMaxFocalLength()The maximum focal length. voidsetMaxFocalLength(Double maxFocalLength)The maximum focal length. List<String>getFallbackCameras()Optional cameras to fall back if the defaultCamera is not found. voidsetFallbackCameras(List<String> fallbackCameras)Optional cameras to fall back if the defaultCamera is not found. StringtoString()inthashCode()booleanequals(Object other)-
-
Method Detail
-
getCaptureResolution
String getCaptureResolution()
The preferred resolution for video capture (720, 720p, 1080, 1080p). This resolution is used to process images for scanning. (Required)
-
setCaptureResolution
void setCaptureResolution(String captureResolution)
The preferred resolution for video capture (720, 720p, 1080, 1080p). This resolution is used to process images for scanning. (Required)
-
getPictureResolution
String getPictureResolution()
The preferred resolution for taking images (720, 720p, 1080, 1080p).
-
setPictureResolution
void setPictureResolution(String pictureResolution)
The preferred resolution for taking images (720, 720p, 1080, 1080p).
-
getDefaultCamera
String getDefaultCamera()
The preferred camera of the device (FRONT, BACK, EXTERNAL, EXTERNAL_FRONT).
-
setDefaultCamera
void setDefaultCamera(String defaultCamera)
The preferred camera of the device (FRONT, BACK, EXTERNAL, EXTERNAL_FRONT).
-
getZoomGesture
Boolean getZoomGesture()
This flag enables or disables the zoom gesture if supported.
-
setZoomGesture
void setZoomGesture(Boolean zoomGesture)
This flag enables or disables the zoom gesture if supported.
-
getFocalLength
Double getFocalLength()
The focal length.
-
setFocalLength
void setFocalLength(Double focalLength)
The focal length.
-
getZoomRatio
Double getZoomRatio()
The zoom ratio.
-
setZoomRatio
void setZoomRatio(Double zoomRatio)
The zoom ratio.
-
getMaxZoomRatio
Double getMaxZoomRatio()
The maximum zoom ratio.
-
setMaxZoomRatio
void setMaxZoomRatio(Double maxZoomRatio)
The maximum zoom ratio.
-
getMaxFocalLength
Double getMaxFocalLength()
The maximum focal length.
-
setMaxFocalLength
void setMaxFocalLength(Double maxFocalLength)
The maximum focal length.
-
getFallbackCameras
List<String> getFallbackCameras()
Optional cameras to fall back if the defaultCamera is not found.
-
setFallbackCameras
void setFallbackCameras(List<String> fallbackCameras)
Optional cameras to fall back if the defaultCamera is not found.
-
hashCode
int hashCode()
-
-
-
-