Class Image


  • public final class Image
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Image​(ImageType imageType, Bitmap bitmap)  
      Image​(ImageType imageType, java.lang.String tag, Bitmap bitmap)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Bitmap getBitmap()
      Return an image in the android.graphics.Bitmap format
      byte[] getImageData()
      return android.graphics.Bitmap byte array
      ImageType getImageType()
      Return one of image type int constants
      java.lang.String getTag()
      Return tag of Image
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Image

        public Image​(ImageType imageType,
                     Bitmap bitmap)
      • Image

        public Image​(ImageType imageType,
                     java.lang.String tag,
                     Bitmap bitmap)
    • Method Detail

      • getBitmap

        public Bitmap getBitmap()
        Return an image in the android.graphics.Bitmap format
        Returns:
        android.graphics.Bitmap
      • getImageType

        public ImageType getImageType()
        Return one of image type int constants
        Returns:
        int value one of ImageType
      • getTag

        public java.lang.String getTag()
        Return tag of Image
        Returns:
        tag in the String format
      • getImageData

        public byte[] getImageData()
        return android.graphics.Bitmap byte array
        Returns:
        converted android.graphics.Bitmap in the byte[]