Table of Contents

Class DefaultFileIOProcessor

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

Constructors

DefaultFileIOProcessor(Context)

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

Parameters

context Context

Properties

A

[Register("a")]
public Context A { get; set; }

Property Value

Context

B

[Register("b")]
public bool B { get; set; }

Property Value

bool

C

[Register("c")]
public ILogger C { get; set; }

Property Value

ILogger

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 source, File destination)

Parameters

source 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