Table of Contents

Class EncryptedFileIOProcessor

Namespace
IO.Scanbot.Sdk.Persistence.Fileio
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/persistence/fileio/EncryptedFileIOProcessor", DoNotGenerateAcw = true)]
public sealed class EncryptedFileIOProcessor : Object, IFileIOProcessor, IBaseFileIOProcessor, IImageFileIOProcessor, IJavaObject, IJavaPeerable, IDisposable
Inheritance
EncryptedFileIOProcessor
Implements
Inherited Members

Constructors

EncryptedFileIOProcessor(Context)

[Register(".ctor", "(Landroid/content/Context;)V", "")]
public EncryptedFileIOProcessor(Context context)

Parameters

context Context

Properties

Context

public Context Context { get; }

Property Value

Context

UseEncryption

public bool UseEncryption { get; }

Property Value

bool

Methods

CopyRaw(File, File)

[Register("copyRaw", "(Ljava/io/File;Ljava/io/File;)V", "")]
public void CopyRaw(File encryptedSource, File destination)

Parameters

encryptedSource File
destination File

OpenFileInputStream(File)

[Register("openFileInputStream", "(Ljava/io/File;)Ljava/io/InputStream;", "")]
public Stream OpenFileInputStream(File sourceFile)

Parameters

sourceFile File

Returns

Stream

OpenFileOutputStream(File)

[Register("openFileOutputStream", "(Ljava/io/File;)Ljava/io/OutputStream;", "")]
public Stream OpenFileOutputStream(File destinationFile)

Parameters

destinationFile File

Returns

Stream

Read(File)

[Register("read", "(Ljava/io/File;)[B", "")]
public byte[] Read(File source)

Parameters

source File

Returns

byte[]

ReadImage(Uri, Options)

[Register("readImage", "(Landroid/net/Uri;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;", "")]
public Bitmap ReadImage(Uri sourceUri, BitmapFactory.Options options)

Parameters

sourceUri Uri
options BitmapFactory.Options

Returns

Bitmap

ReadImage(File, Options)

[Register("readImage", "(Ljava/io/File;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;", "")]
public Bitmap ReadImage(File source, BitmapFactory.Options options)

Parameters

source File
options BitmapFactory.Options

Returns

Bitmap

Write(byte[], File)

[Register("write", "([BLjava/io/File;)V", "")]
public void Write(byte[] byteArray, File destination)

Parameters

byteArray byte[]
destination File

WriteImage(Bitmap, CompressFormat, int, File)

[Register("writeImage", "(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap$CompressFormat;ILjava/io/File;)V", "")]
public void WriteImage(Bitmap bitmap, Bitmap.CompressFormat compressFormat, int quality, File destination)

Parameters

bitmap Bitmap
compressFormat Bitmap.CompressFormat
quality int
destination File