Class ImageProfile


  • public class ImageProfile
    extends java.lang.Object
    ImageRef 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.
    • 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 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 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.