From d5f3d36d23e71faac6f149cbf7d8c205d6e5ee4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Wed, 20 Dec 2023 12:24:31 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BB=AE=E7=BD=AE=E3=81=8D=E3=83=87=E3=83=BC?= =?UTF-8?q?=E3=82=BF=E3=83=A2=E3=83=87=E3=83=AB=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/scanner/CapturedData.java | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/CapturedData.java b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/CapturedData.java index 8a42d048..2b6441d5 100644 --- a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/CapturedData.java +++ b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/CapturedData.java @@ -1,4 +1,44 @@ package one.nem.lacerta.component.scanner; +import android.graphics.Bitmap; + public class CapturedData { + + private String path; + private String resolutionHeight; + private String resolutionWidth; + private String size; + private Bitmap bitmap; + + // Constructor + + public CapturedData(String path, String resolutionHeight, String resolutionWidth, String size, Bitmap bitmap) { + this.path = path; + this.resolutionHeight = resolutionHeight; + this.resolutionWidth = resolutionWidth; + this.size = size; + this.bitmap = bitmap; + } + + // Getters + + public String getPath() { + return path; + } + + public String getResolutionHeight() { + return resolutionHeight; + } + + public String getResolutionWidth() { + return resolutionWidth; + } + + public String getSize() { + return size; + } + + public Bitmap getBitmap() { + return bitmap; + } }