Package io.scanbot.sdk.image
Class ImageProfile
java.lang.Object
io.scanbot.sdk.image.ImageProfile
ImageRef profile part specific to image information.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs ImageProfile with default parameters.ImageProfile(int bitmapMemoryConsumption, int hibernationMemoryConsumption) Constructs ImageProfile with the given params. -
Method Summary
Modifier and TypeMethodDescriptionintGetter for bitmapMemoryConsumption field.intGetter for hibernationMemoryConsumption field.voidsetBitmapMemoryConsumption(int bitmapMemoryConsumption) Setter for bitmapMemoryConsumption field.voidsetHibernationMemoryConsumption(int hibernationMemoryConsumption) Setter for hibernationMemoryConsumption field.
-
Constructor Details
-
ImageProfile
public ImageProfile(int bitmapMemoryConsumption, int hibernationMemoryConsumption) Constructs ImageProfile with the given params.- Parameters:
bitmapMemoryConsumption- Memory consumption of a memory-backed bitmap. Zero, if the image is hibernating. Default is `0`.hibernationMemoryConsumption- Memory consumption of the hibernation buffer. Zero, if the image is not hibernating, or is hibernated to a file. Default is `0`.
-
ImageProfile
public ImageProfile()Constructs ImageProfile with default parameters.
-
-
Method Details
-
getBitmapMemoryConsumption
public int getBitmapMemoryConsumption()Getter for bitmapMemoryConsumption field. See constructor documentation for more information about the field.- Returns:
- bitmapMemoryConsumption
-
setBitmapMemoryConsumption
public void setBitmapMemoryConsumption(int bitmapMemoryConsumption) Setter for bitmapMemoryConsumption field. See constructor documentation for more information about the field.- Parameters:
bitmapMemoryConsumption- Value to set.
-
getHibernationMemoryConsumption
public int getHibernationMemoryConsumption()Getter for hibernationMemoryConsumption field. See constructor documentation for more information about the field.- Returns:
- hibernationMemoryConsumption
-
setHibernationMemoryConsumption
public void setHibernationMemoryConsumption(int hibernationMemoryConsumption) Setter for hibernationMemoryConsumption field. See constructor documentation for more information about the field.- Parameters:
hibernationMemoryConsumption- Value to set.
-