mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
仮置きデータモデル作成
This commit is contained in:
parent
2c74fa3339
commit
d5f3d36d23
|
@ -1,4 +1,44 @@
|
||||||
package one.nem.lacerta.component.scanner;
|
package one.nem.lacerta.component.scanner;
|
||||||
|
|
||||||
|
import android.graphics.Bitmap;
|
||||||
|
|
||||||
public class CapturedData {
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user