Package: com.keepsolid.androidkeepsolidcommon.commonsdk.api.transport
getResponseCode
int getResponseCode()
response code
setResponseCode
void setResponseCode(int responseCode)
static final int KS_SERVICE_OPERATION_SUCCESSFUL
Successful result of VPNU service operation.
static final int VPNU_SERVICE_NOT_CONFIGURED
Application has attempted to call start VPN Service without calling setup(VPNUServer, boolean)},
static final int VPNU_SERVICE_CAN_NOT_OBTAIN_PERMISSION
Device user refused to grant VPN connection permission to the application.
static final int VPNU_SERVICE_CAN_NOT_START_VPN
VPN Connection was not established due to internal VPNU SDK exception.
static final int VPNU_SERVICE_TUN_ERROR
VPN Connection was not established due to TUN driver error.
static final int VPNU_SERVICE_PROXY_AUTH_ERROR
VPN Connection was not established due to proxy authorization with wrong credentials.
static final int VPNU_SERVICE_CONFIGURATION_ALREADY_STARTED
Can not start VPN service configuration while configuration in progress!
static final int VPNU_SERVICE_EXECUTABLE_LINK_ERROR
Can not start VPN service configuration due to executable link problem.
static final int KS_RESULT_CODE_SUCCESS
Successful result of operation.
static final int KS_ERROR_SESSION_SOURED
Internal exception in VPNU SDK. For handling purposes, please, refere KS_ERROR_SESSION_DEATH_CANT_RECOVER
static final int KS_ERROR_UNKNOWN
Unrecognized internal exception in VPNU SDK.
static final int KS_ERROR_UNEXPECTED_SERVER_RESPONSE
Unexpected server response from KeepSolid API. Please, check your VPN Unlimited SDK version.
static final int KS_ERROR_NOT_SUPPORTED
Operation is not supported by VPNU SDK.
static final int KS_ERROR_SERVER_ITEM_REGION_EMPTY
Server region was empty. Please, reload servers list.
static final int KS_ERROR_SESSION_DEATH_CANT_RECOVER
KeepSolid API session has died and was not recovered. Application should re-authorize user.
static final int KS_ERROR_NOT_LOGGED_IN
Application attempted to send KeepSolid API request without logging in.
static final int KS_PROXY_AUTHENTICATION_REQUIRED_CODE
Http proxy has failed to authenticate or user cancelled authentication, invoked by KSProxyManager.resolveAuthError().
static final int KS_GENERAL_SERVER_ERROR
Server maintenance.
static final int KS_INVALID_REQUEST
Invalid KeepSolid API request. Please, check your VPN Unlimited SDK version.
static final int KS_INVALID_PARAMS
Invalid (or empty) request parameters.
static final int KS_INVALID_DB_CONNECTION_SERV
Invalid server database connection.
static final int KS_ENCRYPTYON_FAILURE_SERV
Request body encryption exception.
static final int KS_INVALID_URL_SERV
Invalid Url
static final int KS_INVALID_PURCHASE_SERV
Invalid purchase
static final int KS_INVALID_USERNAME_SERV
Invalid username
static final int KS_ALREADY_CONFIRMED_SERV
User has been already confirmed.
static final int KS_ERROR_INVALID_CREDENTIALS
Application has tried to authorize or register with invalid credentials (wrong or empty login or password).
static final int KS_LOGIN_ATTEMPTS_EXCEEDED_SERV
User exceeded authorization attempts
static final int KS_TOO_MUCH_REGS
User exceeded maximum number of registrations per day.
static final int KS_TOO_MUCH_MAIL
User exceeded maximum number of confirmation emails per day.
static final int KS_TOO_MANY_DEVICES
User exceeded maximum number of devices per account.
static final int KS_USER_ALREADY_EXIST
User with this email is already exists
static final int KS_NEED_CONFIRM_EMAIL
User should confirm account email.
static final int KS_ACCOUNT_CANT_BE_USED
Account is already in use by another sign in type.
static final int KS_USER_BANNED
Account is banned.
static final int KS_USER_DELETED
User was deleted.
static final int KS_PROFILE_IS_INCORRECT
Not enough information for registration.