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
Methods
AddImage(Bitmap)
public Uri AddImage(Bitmap image)
Parameters
image
Bitmap
Returns
AddImage(Bitmap, ResultOptions)
public Uri AddImage(Bitmap image, ResultOptions resultOptions)
Parameters
image
BitmapresultOptions
ResultOptions
Returns
AddImage(Bitmap, int)
public Uri AddImage(Bitmap image, int quality)
Parameters
Returns
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
GetImages()
public Uri[] GetImages()
Returns
- Uri[]
GetNewFileUri(string)
public Uri GetNewFileUri(string extension)
Parameters
extension
string