Builder
This is the Builder pattern to help construct the preview configuration
Constructors
This constructor allows to create builder from existing PreviewConfig object
Functions
Generate the PreviewConfig from the builder
This API helps define the dimension and context info for the camera/preview. Default scan area is a full Size(100,100).
This would setup the camera resolution for the analyzer. Be aware that the camera module may not support exactly the same resolution, but set a best match
this API positions the logo using the LogoAnchor and the offset.
set which camera it is using
Updates list of supported barcode types for preview scanner. Barcode types included in the list String will be supported and any of non-listed barcode types will not be returned in scan result.But whatever not in the EngineConstants will not be recognized.
This API updates list of a barcode Setting
Set zoom by ratio. If the ratio is smaller than minimum zoom ratio or larger than maximum available zoom ratio, the ratio will be revised to the available range.