Table of Contents

Class PageFileStorage

Namespace
IO.Scanbot.Sdk.Persistence.Page
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/persistence/page/PageFileStorage", DoNotGenerateAcw = true)]
public class PageFileStorage : Object, IJavaObject, IJavaPeerable, IDisposable
Inheritance
PageFileStorage
Implements
Inherited Members

Constructors

PageFileStorage(DocumentPageStorageProcessor, IDocumentPageStorage, IFileIOProcessor)

[Register(".ctor", "(Lio/scanbot/sdk/persistence/page/DocumentPageStorageProcessor;Lio/scanbot/sdk/persistence/page/DocumentPageStorage;Lio/scanbot/sdk/persistence/fileio/FileIOProcessor;)V", "")]
public PageFileStorage(DocumentPageStorageProcessor pageStorageProcessor, IDocumentPageStorage pageStorage, IFileIOProcessor fileIOProcessor)

Parameters

pageStorageProcessor DocumentPageStorageProcessor
pageStorage IDocumentPageStorage
fileIOProcessor IFileIOProcessor

PageFileStorage(nint, JniHandleOwnership)

protected PageFileStorage(nint javaReference, JniHandleOwnership transfer)

Parameters

javaReference nint
transfer JniHandleOwnership

Properties

PageStorage

public IDocumentPageStorage PageStorage { get; }

Property Value

IDocumentPageStorage

Zok

[Register("zok")]
public DocumentPageStorageProcessor Zok { get; set; }

Property Value

DocumentPageStorageProcessor

Zon

[Register("zon")]
public IDocumentPageStorage Zon { get; set; }

Property Value

IDocumentPageStorage

Zox

[Register("zox")]
public IFileIOProcessor Zox { get; set; }

Property Value

IFileIOProcessor

Methods

GetImage(File, Options)

[Register("getImage", "(Ljava/io/File;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;", "")]
public Bitmap GetImage(File imageFile, BitmapFactory.Options options)

Parameters

imageFile File
options BitmapFactory.Options

Returns

Bitmap

GetImage(string, string, PageFileType, Options)

[Register("getImage", "(Ljava/lang/String;Ljava/lang/String;Lio/scanbot/sdk/persistence/page/PageFileType;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;", "")]
public Bitmap GetImage(string pageId, string documentId, PageFileType type, BitmapFactory.Options options)

Parameters

pageId string
documentId string
type PageFileType
options BitmapFactory.Options

Returns

Bitmap

GetImageURI(string, string, PageFileType)

[Register("getImageURI", "(Ljava/lang/String;Ljava/lang/String;Lio/scanbot/sdk/persistence/page/PageFileType;)Landroid/net/Uri;", "")]
public Uri GetImageURI(string pageId, string documentId, PageFileType type)

Parameters

pageId string
documentId string
type PageFileType

Returns

Uri

GetPreviewImage(string, string, PageFileType, Options)

[Register("getPreviewImage", "(Ljava/lang/String;Ljava/lang/String;Lio/scanbot/sdk/persistence/page/PageFileType;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;", "")]
public Bitmap GetPreviewImage(string pageId, string documentId, PageFileType type, BitmapFactory.Options options)

Parameters

pageId string
documentId string
type PageFileType
options BitmapFactory.Options

Returns

Bitmap

GetPreviewImageURI(string, string, PageFileType)

[Register("getPreviewImageURI", "(Ljava/lang/String;Ljava/lang/String;Lio/scanbot/sdk/persistence/page/PageFileType;)Landroid/net/Uri;", "")]
public Uri GetPreviewImageURI(string pageId, string documentId, PageFileType type)

Parameters

pageId string
documentId string
type PageFileType

Returns

Uri