Package com.castlabs.sdk.thumbs
Enum ThumbsPlugin.DiskCacheMode
- All Implemented Interfaces:
Serializable
,Comparable<ThumbsPlugin.DiskCacheMode>
- Enclosing class:
ThumbsPlugin
Disk cache mode controlling on-disk thumbnail caching behavior.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisable disk caching entirely.Enable disk caching and clean cached files on provider release.Enable disk caching and retain cached files across provider release. -
Method Summary
Modifier and TypeMethodDescriptionstatic ThumbsPlugin.DiskCacheMode
Returns the enum constant of this type with the specified name.static ThumbsPlugin.DiskCacheMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DISABLED
Disable disk caching entirely. -
ENABLED_CLEANUP
Enable disk caching and clean cached files on provider release. -
ENABLED_RETAIN
Enable disk caching and retain cached files across provider release.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-