public QrScanner (QrScannerActivity activity) : base (activity) { this.activity = activity; this.reader = new MultiFormatReader { Hints = new Hashtable { { DecodeHintType.POSSIBLE_FORMATS, new ArrayList { BarcodeFormat.QR_CODE } } } }; this.surface_holder = Holder; this.surface_holder.AddCallback (this); this.surface_holder.SetType (SurfaceType.PushBuffers); }
public QrScanner(QrScannerActivity activity) : base(activity) { this.activity = activity; this.reader = new MultiFormatReader { Hints = new Hashtable { { DecodeHintType.POSSIBLE_FORMATS, new ArrayList { BarcodeFormat.QR_CODE } } } }; this.surface_holder = Holder; this.surface_holder.AddCallback(this); this.surface_holder.SetType(SurfaceType.PushBuffers); }