Table of Contents

Class Document

Namespace
IO.Scanbot.Sdk.Entity
Assembly
DocumentSDK.NET.Droid.dll
[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 string
name string
date long
pagesCount int
size long
thumbnailUri string
ocrStatus OcrStatus
language Language
ocrText string
documentType DocumentType

Properties

Creator

[Register("CREATOR")]
public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

Date

[Register("date")]
public long Date { get; set; }

Property Value

long

DocumentType

[Register("documentType")]
public DocumentType DocumentType { get; set; }

Property Value

DocumentType

Id

[Register("id")]
public string Id { get; set; }

Property Value

string

Language

[Register("language")]
public Language Language { get; set; }

Property Value

Language

Name

[Register("name")]
public string Name { get; set; }

Property Value

string

OcrStatus

[Register("ocrStatus")]
public OcrStatus OcrStatus { get; set; }

Property Value

OcrStatus

OcrText

[Register("ocrText")]
public string OcrText { get; set; }

Property Value

string

PagesCount

[Register("pagesCount")]
public int PagesCount { get; set; }

Property Value

int

Size

[Register("size")]
public long Size { get; set; }

Property Value

long

ThumbnailUri

[Register("thumbnailUri")]
public string ThumbnailUri { get; set; }

Property Value

string

Methods

Component1()

[Register("component1", "()Ljava/lang/String;", "")]
public string Component1()

Returns

string

Component10()

[Register("component10", "()Lio/scanbot/sdk/entity/DocumentType;", "")]
public DocumentType Component10()

Returns

DocumentType

Component2()

[Register("component2", "()Ljava/lang/String;", "")]
public string Component2()

Returns

string

Component3()

[Register("component3", "()J", "")]
public long Component3()

Returns

long

Component4()

[Register("component4", "()I", "")]
public int Component4()

Returns

int

Component5()

[Register("component5", "()J", "")]
public long Component5()

Returns

long

Component6()

[Register("component6", "()Ljava/lang/String;", "")]
public string Component6()

Returns

string

Component7()

[Register("component7", "()Lio/scanbot/sdk/entity/OcrStatus;", "")]
public OcrStatus Component7()

Returns

OcrStatus

Component8()

[Register("component8", "()Lio/scanbot/sdk/entity/Language;", "")]
public Language Component8()

Returns

Language

Component9()

[Register("component9", "()Ljava/lang/String;", "")]
public string Component9()

Returns

string

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 string
name string
date long
pagesCount int
size long
thumbnailUri string
ocrStatus OcrStatus
language Language
ocrText string
documentType DocumentType

Returns

Document

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

Java documentation for

android.os.Parcelable.describeContents()
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

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 Parcel
flags ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or #PARCELABLE_WRITE_RETURN_VALUE.

Remarks

Java documentation for

android.os.Parcelable.writeToParcel(android.os.Parcel, int)
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.