ODPUserManager class

Syntax

public class ODPUserManager

Remarks

Consists of methods for registering and de-registering users. All the function calls in this class have various ways of provisioning settings on to the client and register the user with the help of these settings. We can also check if a user is registered and delete the user as and when necessary

Error codes for registration

  • 515 - Error retrieving the public key from the server.
  • 516 - Error sending request to the server.
  • 514 - Unable to start traveler session.
  • 516 - Resetting communications or communications cancelled during send.
  • 558 - Cannot connect to server.
  • 563 - Bad credentials.
  • 571 - Server response timeout that occurs normally without ill effects.
  • 578 - Wrong user for device.
  • 579 - Wrong device for code.
  • 581 - Activation code check failed.
  • 584 - Wrong public key.
  • 580 - Activation code is invalid.
  • 6400 - Communication error that occurs normally without ill effects.
  • 6600 - COMMERR_USER_CANCELLED
  • 14801 - MCLERR_CALL_INIT_INSTANCE_FIRST
  • 14802 - MCLERR_CONNECTION_SETTINGS_INCOMPLETE
  • 14803 - MCLERR_INIT_INSTANCE_FAILED
  • 14804 - MCLERR_SET_CONFIG_PROPERTY_FAILED
  • 14805 - MCLERR_NULL_PROPERTY_VALUE
  • 14806 - MCLERR_START_CLIENT_FAILED
  • 14807 - MCLERR_SHUTDOWN_CLIENT_FAILED
  • 14809 - MCLERR_MOOBECT_CREATE_FAILURE
  • 14810 - MCLERR_OPERATION_INVALID_FOR_STATE
  • 14811 - MCLERR_OBJECT_REGISTRATION_FAILURE
  • 14812 - MCLERR_INVALID_PARAMETER_TYPE
  • 14813 - MCLERR_COULD_NOT_REACH_MMS_SERVER
  • 14814 - MCLERR_MMS_AUTHENTICATION_FAILED
  • 14815 - MCLERR_READ_FAILURE
  • 14816 - MCLERR_WRITE_FAILURE

Auto registration errors

  • 14850 - MCLERR_AUTO_REG_TEMPLATE_NOT_FOUND
  • 14851 - MCLERR_AUTO_REG_NOT_ENABLED
  • 14852 - MCLERR_AUTO_REG_REGISTRATION_NOT_FOUND
  • 14853 - MCLERR_AUTO_REG_WRONG_USER_FOR_DEVICE
  • 14854 - MCLERR_AUTO_REG_USER_NAME_TOO_LONG
  • 14855 - MCLERR_AUTO_REG_DEVICE_ALREADY_REGISTERED
  • 14899 - MCLERR_UNKNOWN_ERROR
  • 70000 - One or more input fields are empty.
  • 70001 - User is already registered or the previous user has not been deleted.
  • 70002 - User to be deleted is not registered.
  • 70003 - User registration timed out.
  • 70004 - All delegate methods have not been implemented.
  • 70005 - SUP internal parsing error.
  • 70006 - Empty response string received from the server.
  • 70007 - Customization Bundle not available.

Error codes for request response

  • 71000 - URL is empty.
  • 71001 - Application identifier is null. User is not registered.
  • 71002 - Internal error. JSON parsing has failed.