private global::Tizen.Multimedia.Vision.ErrorCorrectionLevel ConvertEccLevel(VisionApplicationSamples.Barcode.ErrorCorrectionLevel eccLevel) { global::Tizen.Multimedia.Vision.ErrorCorrectionLevel convertedEccLevel; switch (eccLevel) { case VisionApplicationSamples.Barcode.ErrorCorrectionLevel.Low: convertedEccLevel = global::Tizen.Multimedia.Vision.ErrorCorrectionLevel.Low; break; case VisionApplicationSamples.Barcode.ErrorCorrectionLevel.Medium: convertedEccLevel = global::Tizen.Multimedia.Vision.ErrorCorrectionLevel.Medium; break; case VisionApplicationSamples.Barcode.ErrorCorrectionLevel.Quartile: convertedEccLevel = global::Tizen.Multimedia.Vision.ErrorCorrectionLevel.Quartile; break; default: convertedEccLevel = global::Tizen.Multimedia.Vision.ErrorCorrectionLevel.High; break; } return(convertedEccLevel); }
public void SetErrorCorrectionLevel(VisionApplicationSamples.Barcode.ErrorCorrectionLevel eccLevel) { _eccLevel = eccLevel; }
public GeneratorQRCode() { _qrModelType = QrModeType.Utf8; _eccLevel = VisionApplicationSamples.Barcode.ErrorCorrectionLevel.Medium; }