ImageSourceType: "API" | "PLATFORM_IMAGE" | "CAMERA" | "FILE" | "BUFFER" | "OTHER"

The type of source which originated the underlying image.

  • API: ImageRef was created by a call to an SDK feature, such as a scanner, image processor, etc.
  • PLATFORM_IMAGE: ImageRef was created from a platform image, e.g. Bitmap on Android, UIImage on iOS.
  • CAMERA: ImageRef was created from data from the camera.
  • FILE: ImageRef was created from a file.
  • BUFFER: ImageRef was created from an encoded buffer.
  • OTHER: ImageRef was created from another type, e.g. from custom loader.