Package io.scanbot.sdk.core
Class ImageProfile
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ImageProfile implements Parcelable
ImageRef profile part specific to image information.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerbitmapMemoryConsumptionprivate IntegerhibernationMemoryConsumption
-
Constructor Summary
Constructors Constructor Description ImageProfile(Map<String, Object> source)ImageProfile(JSONObject json)ImageProfile(Integer bitmapMemoryConsumption, Integer hibernationMemoryConsumption)
-
Method Summary
Modifier and Type Method Description final IntegergetBitmapMemoryConsumption()Memory consumption of a memory-backed bitmap. final UnitsetBitmapMemoryConsumption(Integer bitmapMemoryConsumption)Memory consumption of a memory-backed bitmap. final IntegergetHibernationMemoryConsumption()Memory consumption of the hibernation buffer. final UnitsetHibernationMemoryConsumption(Integer hibernationMemoryConsumption)Memory consumption of the hibernation buffer. final JSONObjecttoJson(ToJsonConfiguration config)final ImageProfileclone()final static ImageProfiledefault()-
-
Method Detail
-
getBitmapMemoryConsumption
final Integer getBitmapMemoryConsumption()
Memory consumption of a memory-backed bitmap. Zero, if the image is hibernating.
Default is 0
-
setBitmapMemoryConsumption
final Unit setBitmapMemoryConsumption(Integer bitmapMemoryConsumption)
Memory consumption of a memory-backed bitmap. Zero, if the image is hibernating.
Default is 0
-
getHibernationMemoryConsumption
final Integer getHibernationMemoryConsumption()
Memory consumption of the hibernation buffer. Zero, if the image is not hibernating, or is hibernated to a file.
Default is 0
-
setHibernationMemoryConsumption
final Unit setHibernationMemoryConsumption(Integer hibernationMemoryConsumption)
Memory consumption of the hibernation buffer. Zero, if the image is not hibernating, or is hibernated to a file.
Default is 0
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final ImageProfile clone()
-
default
final static ImageProfile default()
-
-
-
-