Class ScreenshotInformation


  • public class ScreenshotInformation
    extends Object
    Immutable information send by screenshot notification.
    • Constructor Detail

      • ScreenshotInformation

        public ScreenshotInformation​(ImageFileFormat imageFileFormat,
                                     int imageWidth,
                                     int imageHeight,
                                     byte[] imageData)
                              throws IOException
        Create immutable screenshot information.
        Throws:
        IOException
    • Method Detail

      • getImageFileFormat

        public ImageFileFormat getImageFileFormat()
        File format of image data.
      • getImageWidth

        public int getImageWidth()
        Image width in pixels.
      • getImageHeight

        public int getImageHeight()
        Image height in pixels.
      • getImageData

        public byte[] getImageData()
        Image data.
      • getImage

        public Image getImage()
        Image object build from image data or null if image data is invalid.
      • toString

        public String toString()
        String representation for debugging purpose.
        Overrides:
        toString in class Object