Class ImageSource

java.lang.Object
io.scanbot.sdk.image.ImageSource

public class ImageSource extends Object
Description of source from which the ImageRef was created.
  • Constructor Details

    • ImageSource

      public ImageSource(ImageSourceType type, String filePath)
      Constructs ImageSource with the given params.
      Parameters:
      type - Source type from which the ImageRef was created.
      filePath - File from which the ImageRef was created. Non-null only if the image ref was created from file.
  • Method Details

    • getType

      public ImageSourceType getType()
      Getter for type field. See constructor documentation for more information about the field.
      Returns:
      type
    • setType

      public void setType(ImageSourceType type)
      Setter for type field. See constructor documentation for more information about the field.
      Parameters:
      type - Value to set.
    • getFilePath

      public String getFilePath()
      Getter for filePath field. See constructor documentation for more information about the field.
      Returns:
      filePath
    • setFilePath

      public void setFilePath(String filePath)
      Setter for filePath field. See constructor documentation for more information about the field.
      Parameters:
      filePath - Value to set.