Package io.scanbot.sdk.image
Class ImageProfile
- java.lang.Object
-
- io.scanbot.sdk.image.ImageProfile
-
public class ImageProfile extends java.lang.ObjectImageRef profile part specific to image information.
-
-
Constructor Summary
Constructors Constructor Description ImageProfile()Constructs ImageProfile with default parameters.ImageProfile(int bitmapMemoryConsumption, int hibernationMemoryConsumption)Constructs ImageProfile with the given params.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBitmapMemoryConsumption()Getter for bitmapMemoryConsumption field.intgetHibernationMemoryConsumption()Getter for hibernationMemoryConsumption field.voidsetBitmapMemoryConsumption(int bitmapMemoryConsumption)Setter for bitmapMemoryConsumption field.voidsetHibernationMemoryConsumption(int hibernationMemoryConsumption)Setter for hibernationMemoryConsumption field.
-
-
-
Constructor Detail
-
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 0hibernationMemoryConsumption- 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 Detail
-
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.
-
-