Ejemplo n.º 1
0
    // Use this for initialization
    public override void Start()
    {
        //Start base
        base.Start();
        //Create a barcode detection request
        BarcodeRequest request = new BarcodeRequest(OnDetectBarcode, detectionFormat, !continuousDetection);         //Negate continuousDetection because when true, we don't want to automatically unsubscribe our callback

        //Request barcode detection
        NatCam.RequestBarcode(request);
        //Set the flash icon
        SetFlashIcon();
    }