/*
         * This is the main delegate method Anyline uses to report its results
         */
        void IAnylineLicensePlateModuleDelegate.DidFindResult(AnylineLicensePlateModuleView anylineLicensePlateModuleView, ALLicensePlateResult scanResult)
        {
            StopAnyline();
            if (_resultView != null)
            {
                View.BringSubviewToFront(_resultView);
            }

            var country    = scanResult.Country;
            var textResult = scanResult.Result.ToString();

            _resultView?.UpdateResult(textResult);
            _resultView?.UpdateCountry(country);

            // Present the information to the user
            _resultView?.AnimateFadeIn(View);
        }
示例#2
0
 public void DidFindResult(ALLicensePlateScanPlugin anylineLicensePlateScanPlugin, ALLicensePlateResult scanResult)
 {
     HandleResult(scanResult);
 }