Atalasoft MobileImage API Reference
Public Member Functions | List of all members
IImageStorage Interface Reference
Inheritance diagram for IImageStorage:
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 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 ContextImageStorage.

Bitmap 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 ContextImageStorage.

void 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 ContextImageStorage.


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