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

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

ImageCacheType ( String  identifier)

Member Function Documentation

◆ getIdentifier()

String getIdentifier ( )

Returns the String identifier for this enum value.

Member Data Documentation

◆ DISK

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.

◆ IMAGE_CACHE_TYPE_DISK

static final String IMAGE_CACHE_TYPE_DISK = "IMAGE_CACHE_TYPE_DISK"
static

◆ IMAGE_CACHE_TYPE_MEMORY

static final String IMAGE_CACHE_TYPE_MEMORY = "IMAGE_CACHE_TYPE_MEMORY"
static

◆ 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.


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