ResultClass.java 508 B

123456789101112131415161718192021222324
  1. package com.persagy.cameractl.utils;
  2. public class ResultClass {
  3. public boolean name;
  4. public String reason;
  5. public Object resultData;
  6. public ResultClass() {
  7. };
  8. public ResultClass(boolean _name, String _reason) {
  9. this(_name, _reason, null);
  10. };
  11. public ResultClass(boolean _name, Object _resultData) {
  12. this(_name, "", _resultData);
  13. };
  14. public ResultClass(boolean _name, String _reason, Object _resultData) {
  15. this.name = _name;
  16. this.reason = _reason;
  17. this.resultData = _resultData;
  18. };
  19. }