-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from BlinkID/release/5.3.0
Release/5.3.0
- Loading branch information
Showing
68 changed files
with
5,078 additions
and
1,045 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,3 +96,5 @@ Thumbs.db | |
|
||
# dotCover | ||
*.dotCover | ||
|
||
clean.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 82 additions & 3 deletions
85
...ms/BlinkID.Forms/BlinkID.Forms.Android/Overlays/Implementations/BlinkIdOverlaySettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
...ms/BlinkID.Forms/BlinkID.Forms.Android/Recognizers/Implementations/IdBarcodeRecognizer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
using Microblink.Forms.Droid.Recognizers; | ||
using Microblink.Forms.Core.Recognizers; | ||
|
||
[assembly: Xamarin.Forms.Dependency(typeof(IdBarcodeRecognizer))] | ||
namespace Microblink.Forms.Droid.Recognizers | ||
{ | ||
public sealed class IdBarcodeRecognizer : Recognizer, IIdBarcodeRecognizer | ||
{ | ||
Com.Microblink.Entities.Recognizers.Blinkid.Idbarcode.IdBarcodeRecognizer nativeRecognizer; | ||
|
||
IdBarcodeRecognizerResult result; | ||
|
||
public IdBarcodeRecognizer() : base(new Com.Microblink.Entities.Recognizers.Blinkid.Idbarcode.IdBarcodeRecognizer()) | ||
{ | ||
nativeRecognizer = NativeRecognizer as Com.Microblink.Entities.Recognizers.Blinkid.Idbarcode.IdBarcodeRecognizer; | ||
result = new IdBarcodeRecognizerResult(nativeRecognizer.GetResult() as Com.Microblink.Entities.Recognizers.Blinkid.Idbarcode.IdBarcodeRecognizer.Result); | ||
} | ||
|
||
public override IRecognizerResult BaseResult => result; | ||
|
||
public IIdBarcodeRecognizerResult Result => result; | ||
|
||
|
||
} | ||
|
||
public sealed class IdBarcodeRecognizerResult : RecognizerResult, IIdBarcodeRecognizerResult | ||
{ | ||
Com.Microblink.Entities.Recognizers.Blinkid.Idbarcode.IdBarcodeRecognizer.Result nativeResult; | ||
|
||
internal IdBarcodeRecognizerResult(Com.Microblink.Entities.Recognizers.Blinkid.Idbarcode.IdBarcodeRecognizer.Result nativeResult) : base(nativeResult) | ||
{ | ||
this.nativeResult = nativeResult; | ||
} | ||
public string AdditionalAddressInformation => nativeResult.AdditionalAddressInformation; | ||
public string AdditionalNameInformation => nativeResult.AdditionalNameInformation; | ||
public string Address => nativeResult.Address; | ||
public BarcodeType BarcodeType => (BarcodeType)nativeResult.BarcodeType.Ordinal(); | ||
public IDate DateOfBirth => nativeResult.DateOfBirth.Date != null ? new Date(nativeResult.DateOfBirth.Date) : null; | ||
public IDate DateOfExpiry => nativeResult.DateOfExpiry.Date != null ? new Date(nativeResult.DateOfExpiry.Date) : null; | ||
public IDate DateOfIssue => nativeResult.DateOfIssue.Date != null ? new Date(nativeResult.DateOfIssue.Date) : null; | ||
public string DocumentAdditionalNumber => nativeResult.DocumentAdditionalNumber; | ||
public string DocumentNumber => nativeResult.DocumentNumber; | ||
public IdBarcodeDocumentType DocumentType => (IdBarcodeDocumentType)nativeResult.DocumentType.Ordinal(); | ||
public string Employer => nativeResult.Employer; | ||
public string FirstName => nativeResult.FirstName; | ||
public string FullName => nativeResult.FullName; | ||
public string IssuingAuthority => nativeResult.IssuingAuthority; | ||
public string LastName => nativeResult.LastName; | ||
public string MaritalStatus => nativeResult.MaritalStatus; | ||
public string Nationality => nativeResult.Nationality; | ||
public string PersonalIdNumber => nativeResult.PersonalIdNumber; | ||
public string PlaceOfBirth => nativeResult.PlaceOfBirth; | ||
public string Profession => nativeResult.Profession; | ||
public string Race => nativeResult.Race; | ||
public byte[] RawData => nativeResult.GetRawData(); | ||
public string Religion => nativeResult.Religion; | ||
public string ResidentialStatus => nativeResult.ResidentialStatus; | ||
public string Sex => nativeResult.Sex; | ||
public string StringData => nativeResult.StringData; | ||
public bool Uncertain => nativeResult.IsUncertain; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.