Class Document
[Register("io/scanbot/sdk/entity/Document", DoNotGenerateAcw = true)]
public sealed class Document : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
Document
- Implements
- Inherited Members
Constructors
Document()
[Register(".ctor", "()V", "")]
public Document()
Document(string, string, long, int, long, string, OcrStatus, Language, string, DocumentType)
[Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;JIJLjava/lang/String;Lio/scanbot/sdk/entity/OcrStatus;Lio/scanbot/sdk/entity/Language;Ljava/lang/String;Lio/scanbot/sdk/entity/DocumentType;)V", "")]
public Document(string id, string name, long date, int pagesCount, long size, string thumbnailUri, OcrStatus ocrStatus, Language language, string ocrText, DocumentType documentType)
Parameters
id
stringname
stringdate
longpagesCount
intsize
longthumbnailUri
stringocrStatus
OcrStatuslanguage
LanguageocrText
stringdocumentType
DocumentType
Properties
Creator
[Register("CREATOR")]
public static IParcelableCreator Creator { get; }
Property Value
Date
[Register("date")]
public long Date { get; set; }
Property Value
DocumentType
[Register("documentType")]
public DocumentType DocumentType { get; set; }
Property Value
Id
[Register("id")]
public string Id { get; set; }
Property Value
Language
[Register("language")]
public Language Language { get; set; }
Property Value
Name
[Register("name")]
public string Name { get; set; }
Property Value
OcrStatus
[Register("ocrStatus")]
public OcrStatus OcrStatus { get; set; }
Property Value
OcrText
[Register("ocrText")]
public string OcrText { get; set; }
Property Value
PagesCount
[Register("pagesCount")]
public int PagesCount { get; set; }
Property Value
Size
[Register("size")]
public long Size { get; set; }
Property Value
ThumbnailUri
[Register("thumbnailUri")]
public string ThumbnailUri { get; set; }
Property Value
Methods
Component1()
[Register("component1", "()Ljava/lang/String;", "")]
public string Component1()
Returns
Component10()
[Register("component10", "()Lio/scanbot/sdk/entity/DocumentType;", "")]
public DocumentType Component10()
Returns
Component2()
[Register("component2", "()Ljava/lang/String;", "")]
public string Component2()
Returns
Component3()
[Register("component3", "()J", "")]
public long Component3()
Returns
Component4()
[Register("component4", "()I", "")]
public int Component4()
Returns
Component5()
[Register("component5", "()J", "")]
public long Component5()
Returns
Component6()
[Register("component6", "()Ljava/lang/String;", "")]
public string Component6()
Returns
Component7()
[Register("component7", "()Lio/scanbot/sdk/entity/OcrStatus;", "")]
public OcrStatus Component7()
Returns
Component8()
[Register("component8", "()Lio/scanbot/sdk/entity/Language;", "")]
public Language Component8()
Returns
Component9()
[Register("component9", "()Ljava/lang/String;", "")]
public string Component9()
Returns
Copy(string, string, long, int, long, string, OcrStatus, Language, string, DocumentType)
[Register("copy", "(Ljava/lang/String;Ljava/lang/String;JIJLjava/lang/String;Lio/scanbot/sdk/entity/OcrStatus;Lio/scanbot/sdk/entity/Language;Ljava/lang/String;Lio/scanbot/sdk/entity/DocumentType;)Lio/scanbot/sdk/entity/Document;", "")]
public Document Copy(string id, string name, long date, int pagesCount, long size, string thumbnailUri, OcrStatus ocrStatus, Language language, string ocrText, DocumentType documentType)
Parameters
id
stringname
stringdate
longpagesCount
intsize
longthumbnailUri
stringocrStatus
OcrStatuslanguage
LanguageocrText
stringdocumentType
DocumentType
Returns
DescribeContents()
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.
[Register("describeContents", "()I", "")]
public int DescribeContents()
Returns
- int
a bitmask indicating the set of special object types marshaled by this Parcelable object instance.
Remarks
.
android.os.Parcelable.describeContents()
Portions of this page are modifications based on work created and shared by the
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.
[Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)
Parameters
out
Parcelflags
ParcelableWriteFlagsAdditional flags about how the object should be written. May be 0 or
#PARCELABLE_WRITE_RETURN_VALUE
.
Remarks
.
android.os.Parcelable.writeToParcel(android.os.Parcel, int)
Portions of this page are modifications based on work created and shared by the