Class SnappingDraft
[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
Properties
Creator
[Register("CREATOR")]
public static IParcelableCreator Creator { get; }
Property Value
DocumentName
[Register("documentName")]
public string DocumentName { get; set; }
Property Value
IsCombined
[Register("isCombined")]
public bool IsCombined { get; set; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
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
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
.
android.os.Parcelable.describeContents()
Portions of this page are modifications based on work created and shared by the
GetPage(int)
[Register("getPage", "(I)Lio/scanbot/sdk/persistence/Page;", "")]
public Page GetPage(int position)
Parameters
position
int
Returns
GetPosition(Page)
[Register("getPosition", "(Lio/scanbot/sdk/persistence/Page;)I", "")]
public int GetPosition(Page page)
Parameters
page
Page
Returns
ReplacePage(int, Page)
[Register("replacePage", "(ILio/scanbot/sdk/persistence/Page;)V", "")]
public void ReplacePage(int position, Page page)
Parameters
Size()
[Register("size", "()I", "")]
public int Size()
Returns
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