Atalasoft MobileImage API Reference
Public Member Functions | List of all members
com.kofax.mobile.sdk.capture.IImageStorage Interface Reference
Inheritance diagram for com.kofax.mobile.sdk.capture.IImageStorage:
com.kofax.mobile.sdk.capture.ContextImageStorage

Public Member Functions

void setImage (Bitmap image, String id)
 
Bitmap getImage (String id)
 
Bitmap removeImage (String id)
 

Detailed Description

Allows storage of images

Member Function Documentation

Bitmap com.kofax.mobile.sdk.capture.IImageStorage.getImage ( String  id)

Retrieve a reference to an image, but leave it in storage. How the image must be released is implementation-specific.

Parameters
idThe id of the image to retrieve
Returns
A bitmap, or null if an image of the given Id does not exist in storage

Implemented in com.kofax.mobile.sdk.capture.ContextImageStorage.

Bitmap com.kofax.mobile.sdk.capture.IImageStorage.removeImage ( String  id)

Remove the image from storage. The returned bitmap must be freed by the caller

Parameters
idThe id of the image to remove from storage
Returns
A bitmap, or null if an image of the given Id does not exist in storage

Implemented in com.kofax.mobile.sdk.capture.ContextImageStorage.

void com.kofax.mobile.sdk.capture.IImageStorage.setImage ( Bitmap  image,
String  id 
)

Store or overwrite an image with the given Id

Parameters
imageThe image to store
idThe id of the image when storing, for later retrieval

Implemented in com.kofax.mobile.sdk.capture.ContextImageStorage.


The documentation for this interface was generated from the following file:
Untitled Document © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.