Class DocumentRepository
- Namespace
- IO.Scanbot.Sdk.Docprocessing
- Assembly
- DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/docprocessing/DocumentRepository", DoNotGenerateAcw = true)]
public sealed class DocumentRepository : Object, IResultRepository, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
DocumentRepository
- Implements
-
- Inherited Members
-
Constructors
DocumentRepository(IResultStorage)
[Register(".ctor", "(Lio/scanbot/sdk/ui/result/ResultStorage;)V", "")]
public DocumentRepository(IResultStorage storage)
Parameters
storage IResultStorage
Properties
AcceptedType
public Class AcceptedType { get; }
Property Value
- Class
Cty
[Register("cty")]
public IResultStorage Cty { get; set; }
Property Value
- IResultStorage
Storage
public IResultStorage Storage { get; }
Property Value
- IResultStorage
Methods
AddResult(Document)
[Register("addResult", "(Lio/scanbot/sdk/docprocessing/Document;)Lio/scanbot/sdk/ui/result/ResultWrapper;", "")]
public ResultWrapper AddResult(Document result)
Parameters
result Document
Returns
- ResultWrapper
Clear()
[Register("clear", "()V", "")]
public void Clear()
GetResult(string)
[Register("getResult", "(Ljava/lang/String;)Lio/scanbot/sdk/docprocessing/Document;", "")]
public Document GetResult(string resultId)
Parameters
resultId string
Returns
- Document
GetResultAndErase(string)
[Register("getResultAndErase", "(Ljava/lang/String;)Lio/scanbot/sdk/docprocessing/Document;", "")]
public Document GetResultAndErase(string resultId)
Parameters
resultId string
Returns
- Document
RemoveResult(string)
[Register("removeResult", "(Ljava/lang/String;)V", "")]
public void RemoveResult(string resultId)
Parameters
resultId string