Back to project page dissertation-project.
The source code is released under:
MIT License
If you think the Android project dissertation-project listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.fyp.widerst.response; /*w w w .ja va 2s . c om*/ public class PostResponse { public static final int STATUS_SUCCESS = 0; public static final int STATUS_BUSY = 1; public static final int STATUS_FAILED = 2; public static final int STATUS_NOT_REQUIRED = 3; public static final int STATUS_REGISTRATION_ERROR = 4; public static final int STATUS_WHOLE_COMPLETE = 5; private int mStatus; private String mBlobstoreUrl; /* Used for responses that have failed */ public PostResponse(int pSuccess) { mStatus = pSuccess; } public PostResponse(String pBlobstoreUrl, int pSuccess) { mBlobstoreUrl = pBlobstoreUrl; mStatus = pSuccess; } public int getSuccess() { return mStatus; } public String getPostUrl() { return mBlobstoreUrl; } }