Kofax Mobile SDK API Reference
|
Public Member Functions | |
ImageCacheType (String identifier) | |
String | getIdentifier () |
Public Attributes | |
MEMORY =(ImageCacheType.IMAGE_CACHE_TYPE_MEMORY) | |
DISK =(ImageCacheType.IMAGE_CACHE_TYPE_DISK) | |
Static Public Attributes | |
staticfinal String | IMAGE_CACHE_TYPE_MEMORY = "IMAGE_CACHE_TYPE_MEMORY" |
staticfinal String | IMAGE_CACHE_TYPE_DISK = "IMAGE_CACHE_TYPE_DISK" |
Used to set the type of cache that will be used to retain images across re-creation(such as from a configuration change).
ImageCacheType | ( | String | identifier | ) |
String getIdentifier | ( | ) |
Returns the String identifier for this enum value.
Images will written to file. Files will be stored in the internal application cache directory. Images will not be lost if the cache is garbage collected. Images will be lost if the internal application cache is cleared.
Maximum size is 20MB.
It is not recommended to use this option if your images may contain sensitive information.
|
static |
|
static |
MEMORY =(ImageCacheType.IMAGE_CACHE_TYPE_MEMORY) |
Images will be cached in memory. Images will be lost if the cache is garbage collected (such as when the application is minimized and the OS needs to free up memory).
Maximum size is 20% of total application memory.