Class OverlayCameraSettings.Builder
java.lang.Object
com.microblink.blinkid.fragment.overlay.components.settings.OverlayCameraSettings.Builder
- Enclosing class:
- OverlayCameraSettings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setAspectMode
(CameraAspectMode cameraAspectMode) setForceLegacyApi
(boolean forceLegacyCameraApi) setIsOptimizedForNearScan
(boolean isOptimizedForNearScan) setIsPinchToZoomAllowed
(boolean isPinchToZoomAllowed) setPreviewZoomScale
(float previewZoomScale) setSurface
(com.microblink.blinkid.view.surface.CameraSurface cameraSurface) setType
(CameraType cameraType) setVideoResolutionPreset
(VideoResolutionPreset videoResolutionPreset)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setType
-
setIsOptimizedForNearScan
@NonNull public OverlayCameraSettings.Builder setIsOptimizedForNearScan(boolean isOptimizedForNearScan) -
setAspectMode
@NonNull public OverlayCameraSettings.Builder setAspectMode(@NonNull CameraAspectMode cameraAspectMode) -
setPreviewZoomScale
public OverlayCameraSettings.Builder setPreviewZoomScale(@FloatRange(from=1.0,to=2.0) float previewZoomScale) -
setSurface
@NonNull public OverlayCameraSettings.Builder setSurface(@NonNull com.microblink.blinkid.view.surface.CameraSurface cameraSurface) -
setForceLegacyApi
-
setIsPinchToZoomAllowed
-
setVideoResolutionPreset
@NonNull public OverlayCameraSettings.Builder setVideoResolutionPreset(@NonNull VideoResolutionPreset videoResolutionPreset) -
build
-