Skip to content

ws1-client-sdk/com.airwatch.sdk/SDKStatusCode

SDKStatusCode

enum SDKStatusCode

Class provides mapping between SDK state codes and corresponding state's description.

It is used to describe exceptions thrown for category AirWatchSDKException.

Entries

Name Description
SDK_RES_NOT_AVAILABLE Default SDK resource not available error code.
SDK_CUSTOM_ATTRIBUTE_OPERATION_FAILED Custom attribute operation failed.
SDK_AUTH_CREDENTIAL_TOKEN_FETCH_FAILED Failed to fetch Credential Token.
SDK_APP_STATUS_ENDPOINT_FETCH_FAILED Fetching data from App Status endpoint failed.
EMM_ACCESS_REQUIRED Application requires MDM enrollment.
APP_UNAUTHORIZED_ACCESS Unauthorized app access.
SDK_INITIALIZE_FAILED_UNKNOWN_FORMAT SDK Initialization failed due to bad format.
SDK_APP_NOT_ALLOWED_ON_COPE Deprecated. Use EMM_ACCESS_REQUIRED instead
SDK_APP_NOT_SUPPORTED Authentication failed because the application is not supported.
SDK_UDID_UPGRADE_ERROR Authentication failed due to a device ID mismatch.
TUNNEL_OR_LP_FAILED_TO_START Tunnel SDK or local proxy failed to start.
TUNNEL_SDK_CONFIG_NOT_FOUND Tunnel SDK configuration not found in preferences.
TUNNEL_SDK_CERT_FETCH_ERROR Tunnel SDK client certificate fetch failed.
TUNNEL_SDK_SCEP_TOKEN_FETCH_ERROR Tunnel SDK SCEP token fetch failed.
TUNNEL_SDK_CONFIG_FETCH_ERROR Tunnel SDK configuration fetch failed.
SDK_ERROR_SCEP_PENDING SCEP enrollment status is pending.
SDK_FORGOT_PASSCODE_FAILED Operation to reset passcode failed.
SDK_SERVICE_EMPTY_RESPONSE Received empty response from WS1 MDM service.
SDK_FETCH_APP_CONFIG_FAILED Fetching custom app configuration failed.
SDK_VERSION_NOT_SUPPORT Action not supported by installed SDK version.
SDK_VERSION_ERROR Invalid SDK version boundary.
SDK_BINDING_SERVICE_ERROR Binding service connection to WS1 MDM failed.
SDK_ROOT_DETECTION_FAILED Routine compromise detection scanning failed.
SDK_AUTH_ENDPOINT_UNKNOWN_ERROR Unknown error occurred at the authentication endpoint.
SDK_AUTH_ENDPOINT_CONFIGURATION_ERROR Authentication endpoint configuration error.
SDK_AUTH_ENDPOINT_DEVICE_NOT_FOUND Device not found during lookup.
SDK_AUTH_ENDPOINT_INVALID_TOKEN The submitted authentication token is invalid.
SDK_AUTH_ENDPOINT_DEVICE_NOT_MDM_ENROLLED Device is not properly MDM enrolled.
SDK_AUTH_ENDPOINT_INACTIVE_ACCOUNT Associated profile authorization linked user Account is generally recognized but rendered inactive.
SDK_AUTH_ENDPOINT_ACCOUNT_LOCKED User account is locked.
SDK_AUTH_ENDPOINT_INVALID_CREDS Invalid user credentials provided.
SDK_DERIVED_CREDENTIALS_ACTIVATION_FAILURE Derived Credentials certificate fetch failed.
SDK_DERIVED_CREDENTIALS_FAILURE Derived Credentials not valid or activation failed.
SDK_INIT_ROTATION_FAILURE Initialization failed reflecting rotation operation faults.
SDK_INIT_REQUIRED_FROM_OTHER_APP Another application must complete their initialization dependencies procedure first.
SDK_CERT_PINNING_FAILED Certificate Pinning validation check on remote console SSL failed.
SDK_MASTER_HMAC_REGISTER_FAILED Registration of SDK application using Master HMAC failed.
SDK_SERVER_COMMUNICATION_FAILED Connection request to Device Services endpoint failed.
SDK_CERT_FETCH_FAILED Receiving targeted certificate properties from WS1 UEM Console failed.
SDK_CONTEXT_EMAIL_NOT_VALID Autodiscovery of server details failed using provided email.
GATEWAY_INVALID_CONFIG Provided Gateway Policy Network configuration has invalid elements.
GATEWAY_FAILED_IN_CONFIGURING Network Gateway Proxy configuration failed with unexpected error.
GATEWAY_PROXY_NOT_ENABLED Network Gateway Proxy mode is disabled.
GATEWAY_PROXY_TYPE_NOT_SUPPORTED Provided Proxy gateway type is none or unsupported.
SDK_CONTEXT_SDK_SETTING_NOT_AVAILABLE Failed attempting to get SDK properties. Fetch properties configuration explicitly first.
SDK_CONTEXT_USERNAME_PASSWORD_AUTHENTICATION_FAILED Input Username and password authentication request evaluation failed.
SDK_CONTEXT_LOGIN_TYPE_FETCH_FAILED Attempted fetching of login type from console failed.
SDK_CONTEXT_VALIDATE_QR_CODE_FAILED Supplied QR code validation processing failed.
SDK_NO_ANCHOR_APP_FAILED Anchor application was not detected or found on the system.
SDK_CONTEXT_SSO_REGISTER_FAILED Anchor Agent failed to process the SSO registration.
SDK_CONTEXT_ACCEPT_EULA_FAILED An error occurred while attempting to accept the EULA policies.
SDK_CONTEXT_EULA_FETCH_FAILED EULA terms detail fetching failed.
SDK_CONTEXT_HMAC_NOT_AVAILABLE Registration must be performed first to fetch the HMAC instance.
SDK_CONTEXT_CREDENTIALS_VALIDATION_FAILED Supplied user credentials validation failed.
SDK_CONTEXT_GROUP_VALIDATION_FAILED Validation of Group ID identifier failed.
SDK_CONTEXT_URL_NOT_VALID Server connection failed with the provided URL.
SDK_CONTEXT_NOT_ABLE_TO_INITIALIZE Failed to initialize SDK framework; commonly because access is disabled or not a managed app.
SDK_CONTEXT_NOT_ABLE_TO_FETCH_APP_SETTING Failed to download Application settings. The application likely requires the user to log in first.
SDK_CONTEXT_NOT_ABLE_TO_FETCH_SDK_SETTING Failed to download SDK settings. The application likely requires the user to log in first.
SDK_CONTEXT_NO_NETWORK No network connectivity is found while performing an operation.
SDK_CONTEXT_MANAGER_SERVER_URL_MUST_VALIDATE The provided server URL needs to be validated.
SDK_CONTEXT_MANAGER_MUST_INIT_FIRST Context manager needs to be initialized before use.
SDK_RES_DEVICE_INIT_WITHOUT_CONTEXT Device initialization requested without a valid Context.
SDK_RES_DEVICE_SERVICE_NOT_AVAILABLE Could not communicate with WS1 MDM service or service intent is unavailable.
SDK_RES_METHOD_NOT_AVAILABLE_WITH_ANCHOR_APP Method called is not supported on the currently installed version of anchor application.
SDK_RES_DEVICE_NOT_ENROLLED Device is not enrolled in WS1 MDM.
SDK_RES_WEB_SERVICE_ERROR Network web service returned an error.
SDK_RES_INVALID_ARGUMENT The argument provided in the API method call was invalid.
SDK_RES_UNEXPECTED_EXCEPTION An unexpected exception occurred during SDK operations.
SDK_RES_UNAUTHORIZED_ACCESS Unauthorized access. Disallowed application or action.
SDK_RES_FAIL Operation failed. General failure code.
SDK_RES_SUCCESS Operation executed successfully.

Functions

Name Summary
getStatusCode open fun getStatusCode(): Int
Provides code associated with current Status Message
getStatusMessage open fun getStatusMessage(): String
Provides message associated with current Status Code