Table of Contents

Class TempImageStorageService

Namespace
ScanbotSDK.MAUI.Droid.Utils
Assembly
DocumentSDK.MAUI.dll
public class TempImageStorageService : ITempImageStorageService<Bitmap, Uri>
Inheritance
TempImageStorageService
Implements
Inherited Members

Constructors

TempImageStorageService()

public TempImageStorageService()

TempImageStorageService(string)

public TempImageStorageService(string tempDir)

Parameters

tempDir string

Fields

TempDir

public readonly string TempDir

Field Value

string

Methods

AddImage(Bitmap)

public Uri AddImage(Bitmap image)

Parameters

image Bitmap

Returns

Uri

AddImage(Bitmap, ResultOptions)

public Uri AddImage(Bitmap image, ResultOptions resultOptions)

Parameters

image Bitmap
resultOptions ResultOptions

Returns

Uri

AddImage(Bitmap, int)

public Uri AddImage(Bitmap image, int quality)

Parameters

image Bitmap
quality int

Returns

Uri

CleanUp()

Recursively deletes current temp storage directory! So the content as well as the directory itself will be deleted!

public void CleanUp()

Count()

public int Count()

Returns

int

GetImages()

public Uri[] GetImages()

Returns

Uri[]

GetNewFileUri(string)

public Uri GetNewFileUri(string extension)

Parameters

extension string

Returns

Uri