Table of Contents

Class SnappingDraft

Namespace
IO.Scanbot.Sdk.Entity
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/entity/SnappingDraft", DoNotGenerateAcw = true)]
public sealed class SnappingDraft : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
SnappingDraft
Implements
Inherited Members

Constructors

SnappingDraft()

[Register(".ctor", "()V", "")]
public SnappingDraft()

SnappingDraft(IList<Page>, string, bool)

[Register(".ctor", "(Ljava/util/List;Ljava/lang/String;Z)V", "")]
public SnappingDraft(IList<Page> pages, string documentName, bool isCombined)

Parameters

pages IList<Page>
documentName string
isCombined bool

Properties

Creator

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

Property Value

IParcelableCreator

DocumentName

[Register("documentName")]
public string DocumentName { get; set; }

Property Value

string

IsCombined

[Register("isCombined")]
public bool IsCombined { get; set; }

Property Value

bool

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

Methods

AddPage(Page)

[Register("addPage", "(Lio/scanbot/sdk/persistence/Page;)V", "")]
public void AddPage(Page page)

Parameters

page Page

AddPage(int, Page)

[Register("addPage", "(ILio/scanbot/sdk/persistence/Page;)V", "")]
public void AddPage(int position, Page page)

Parameters

position int
page Page

DeletePage(Page)

[Register("deletePage", "(Lio/scanbot/sdk/persistence/Page;)V", "")]
public void DeletePage(Page page)

Parameters

page Page

DeletePage(int)

[Register("deletePage", "(I)V", "")]
public void DeletePage(int position)

Parameters

position int

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.

GetPage(int)

[Register("getPage", "(I)Lio/scanbot/sdk/persistence/Page;", "")]
public Page GetPage(int position)

Parameters

position int

Returns

Page

GetPosition(Page)

[Register("getPosition", "(Lio/scanbot/sdk/persistence/Page;)I", "")]
public int GetPosition(Page page)

Parameters

page Page

Returns

int

ReplacePage(int, Page)

[Register("replacePage", "(ILio/scanbot/sdk/persistence/Page;)V", "")]
public void ReplacePage(int position, Page page)

Parameters

position int
page Page

Size()

[Register("size", "()I", "")]
public int Size()

Returns

int

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.