Skip to content

Commit

Permalink
Updated projects to SDK v5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vyakimchik committed Jan 25, 2021
1 parent 6cf2f21 commit beac8d5
Show file tree
Hide file tree
Showing 11 changed files with 3,592 additions and 3,458 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.IO;
using Com.Regula.Documentreader.Api;
using Com.Regula.Documentreader.Api.Completions;
using Com.Regula.Documentreader.Api.Errors;
using Com.Regula.Documentreader.Api.Results;
using DocumentReaderSample.Droid;

Expand Down Expand Up @@ -49,7 +50,7 @@ protected void InitReader()
}

//Document Reader Completions
public void OnInitCompleted(bool success, Java.Lang.Throwable error)
public void OnInitCompleted(bool success, DocumentReaderException error)
{
DocReaderInitEvent readerInitEvent = new DocReaderInitEvent() { IsSuccess = success };
if (success)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Com.Regula.Documentreader.Api;
using Com.Regula.Documentreader.Api.Completions;
using Com.Regula.Documentreader.Api.Enums;
using Com.Regula.Documentreader.Api.Errors;
using Com.Regula.Documentreader.Api.Results;
using DocumentReaderSample.Droid;
using Java.Lang;
Expand Down Expand Up @@ -40,7 +41,7 @@ public void ShowScanner(bool IsReadRfid)
this.IsReadRfid = IsReadRfid;
}

public void OnCompleted([IntDef(Type = "Com.Regula.Documentreader.Api.Enums.DocReaderAction", Fields = new[] { "Complete", "Process", "Cancel", "Error", "Notification", "ProcessWhiteUvImages", "MorePagesAvailable" })] int action, DocumentReaderResults results, Throwable error)
public void OnCompleted([IntDef(Type = "Com.Regula.Documentreader.Api.Enums.DocReaderAction", Fields = new[] { "Complete", "Process", "Cancel", "Error", "Notification", "ProcessWhiteUvImages", "MorePagesAvailable" })] int action, DocumentReaderResults results, DocumentReaderException error)
{
DocReaderScannerEvent readerScannerEvent = null;
if (action == DocReaderAction.Complete)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<PackageReference Include="Xamarin.Forms" Version="4.5.0.495" />
<PackageReference Include="Xamarin.Essentials" Version="1.3.1" />
<PackageReference Include="Xamarin.DocumentReader.Api.Android">
<Version>5.3.3551</Version>
<Version>5.4.3934</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Arch.Core.Common">
<Version>1.1.1.3</Version>
Expand Down Expand Up @@ -149,7 +149,7 @@
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.DocumentReader.Common.Android">
<Version>5.3.376</Version>
<Version>5.4.489</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Constraint.Layout">
<Version>1.1.2</Version>
Expand Down Expand Up @@ -185,7 +185,7 @@
<Version>71.1702.4</Version>
</PackageReference>
<PackageReference Include="Xamarin.DocumentReader.Core.FullRfid.Android">
<Version>5.3.3940</Version>
<Version>5.4.4342</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
Loading

0 comments on commit beac8d5

Please sign in to comment.