private global::Tizen.Multimedia.Vision.BarcodeType ConvertType(VisionApplicationSamples.Barcode.BarcodeType barcodeType)
        {
            global::Tizen.Multimedia.Vision.BarcodeType convertedBarcodeType;
            switch (barcodeType)
            {
            case VisionApplicationSamples.Barcode.BarcodeType.Upca:
                convertedBarcodeType = global::Tizen.Multimedia.Vision.BarcodeType.UpcA;
                break;

            case VisionApplicationSamples.Barcode.BarcodeType.Upce:
                convertedBarcodeType = global::Tizen.Multimedia.Vision.BarcodeType.UpcE;
                break;

            case VisionApplicationSamples.Barcode.BarcodeType.Ean8:
                convertedBarcodeType = global::Tizen.Multimedia.Vision.BarcodeType.Ean8;
                break;

            case VisionApplicationSamples.Barcode.BarcodeType.Ean13:
                convertedBarcodeType = global::Tizen.Multimedia.Vision.BarcodeType.Ean13;
                break;

            case VisionApplicationSamples.Barcode.BarcodeType.Code128:
                convertedBarcodeType = global::Tizen.Multimedia.Vision.BarcodeType.Code128;
                break;

            case VisionApplicationSamples.Barcode.BarcodeType.Code39:
                convertedBarcodeType = global::Tizen.Multimedia.Vision.BarcodeType.Code39;
                break;

            case VisionApplicationSamples.Barcode.BarcodeType.I25:
                convertedBarcodeType = global::Tizen.Multimedia.Vision.BarcodeType.I25;
                break;

            default:
                convertedBarcodeType = global::Tizen.Multimedia.Vision.BarcodeType.Code128;
                break;
            }
            return(convertedBarcodeType);
        }
 public void SetBarcodeType(VisionApplicationSamples.Barcode.BarcodeType barcodeType)
 {
     _barcodeType = barcodeType;
 }
 public GeneratorBarcode()
 {
     _barcodeType = VisionApplicationSamples.Barcode.BarcodeType.Code128;
 }