Пример #1
0
        public void DidFinishProcessingCardWithResult(AcuantDriversLicenseCard result)
        {
            UserDialogs.Instance.HideLoading();


            StringBuilder builder = new StringBuilder();

            //TODO: there are more properties for a drivers license
            builder.AppendLine($"First Name - {result.NameFirst}");
            builder.AppendLine($"Middle Name - {result.NameMiddle}");
            builder.AppendLine($"Last Name - {result.NameLast}");
            builder.AppendLine($"Authentication Result - {result.AuthenticationResult}");
            //builder.AppendLine($"nAunthentication Summary - {result.AuthenticationResultSummaryList.Select(x => x.ToString())}");

            builder.AppendLine($"Sex - {result.Sex}");
            builder.AppendLine($"DOB Long - {result.DateOfBirth4}");
            builder.AppendLine($"Issue Date Long - {result.IssueDate4}");
            builder.AppendLine($"Expiration Date Long - {result.ExpirationDate4}");

            SetFrontImage(UIImage.LoadFromData(result.LicenceImage));
            SetBackImage(UIImage.LoadFromData(result.LicenceImageTwo));

            ShowResult(builder.ToString());
        }
Пример #2
0
 public void DidFinishValidatingImageWithResult(AcuantDriversLicenseCard result)
 {
     // todo
 }