com.getsensibill.capturestandalone.models / CapturedReceiptData
CapturedReceiptData
class CapturedReceiptData :
BareCapturedReceiptData
Class representing a captured receipt.
Contains the bitmaps representing cropped (if applicable) and uncropped receipts, as well as the cropping points if they exist.
This class also contains the file locations where cropped and uncropped receipt images should be stored, and functionality for loading saved receipts from their files if necessary. This adds convenience in case we need to reduce the number of bitmaps open at once during capture.
Inherited Properties
Name | Summary |
---|---|
receiptFile | val receiptFile: File The file representing the final receipt. This will be a file referencing the cropped receipt if it exists, otherwise it will be the uncropped receipt image. |
Functions
Name | Summary |
---|---|
cleanup | fun cleanup(): Unit Delete all receipt image files contained within this object |
Inherited Functions
Name | Summary |
---|---|
partialCleanup | fun partialCleanup(): Unit If there are multiple files in this class representing the receipt, delete all but the file representing the final receipt. |