Back to project page Buddy-Android-SDK.
The source code is released under:
Apache License
If you think the Android project Buddy-Android-SDK 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.buddy.sdk; //www. ja v a2s. co m public class BuddyResultBase { protected JsonEnvelopeBase env = new JsonEnvelopeBase(); public BuddyResultBase() { } public BuddyResultBase(JsonEnvelopeBase env) { this.env = env; } public String getError() { return env.error; } public String getErrorMessage() { return env.message; } public int getErrorCode() { return env.errorCode; } public boolean getIsSuccess(){ return getError() == null; } public String getRequestID(){ return env.request_id; } }