Class Image

java.lang.Object
com.regula.facesdk.model.Image

public final class Image extends Object
  • Constructor Details

    • Image

      public Image(ImageType imageType, Bitmap bitmap)
    • Image

      public Image(ImageType imageType, String tag, Bitmap bitmap)
  • Method Details

    • 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 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[]