Kofax Mobile SDK API Reference
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ImageCacheType Enum 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"
 

Detailed Description

Used to set the type of cache that will be used to retain images across re-creation(such as from a configuration change).

Constructor & Destructor Documentation

ImageCacheType ( String  identifier)

Member Function Documentation

String getIdentifier ( )

Returns the String identifier for this enum value.

Member Data Documentation

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 final String IMAGE_CACHE_TYPE_DISK = "IMAGE_CACHE_TYPE_DISK"
static
static final String IMAGE_CACHE_TYPE_MEMORY = "IMAGE_CACHE_TYPE_MEMORY"
static

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.


The documentation for this enum was generated from the following file:
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.