Exemple #1
0
        static SBSDKUIWorkflow QrCodeAndDocument()
        {
            SBSDKUIWorkflowStep qrcodeStep = new SBSDKUIScanBarCodeWorkflowStep(
                "QR code and Document 1/2",
                "Please scan a QR code",
                new String[] { AVConstants.AVMetadataObjectTypeQRCode.ToString() },
                new CGSize(1, 1),
                null
                );

            SBSDKUIWorkflowStep documentStep = new SBSDKUIScanDocumentPageWorkflowStep(
                "QR code and Document 2/2",
                "Please scan a document.",
                null,
                null,
                null
                );

            SBSDKUIWorkflow workflow = new SBSDKUIWorkflow(new SBSDKUIWorkflowStep[] { qrcodeStep, documentStep }, "QR code and document", null);

            return(workflow);
        }
Exemple #2
0
        static SBSDKUIWorkflow QrCodeAndDocument()
        {
            SBSDKUIWorkflowStep qrcodeStep = new SBSDKUIScanBarCodeWorkflowStep(
                "QR code and Document 1/2",
                "Please scan a QR code",
                new SBSDKBarcodeType[] { SBSDKBarcodeType.QRCode },
                new SBSDKAspectRatio(1, 1),
                null
                );

            SBSDKUIWorkflowStep documentStep = new SBSDKUIScanDocumentPageWorkflowStep(
                "QR code and Document 2/2",
                "Please scan a document.",
                null,
                null,
                null
                );

            SBSDKUIWorkflow workflow = new SBSDKUIWorkflow(new SBSDKUIWorkflowStep[] { qrcodeStep, documentStep }, "QR code and document", null);

            return(workflow);
        }