Consists of the methods to Register the user with the SAP Mobile Platform.
com.sap.smp.rest
public class UserManager implements ISDMNetListener, INetListener
All members of UserManager, including inherited members.
ConstructorsModifier and Type | Constructor | Description |
---|---|---|
public | UserManager(ClientConnection) | Initialize the UserManager. |
Modifier and Type | Method | Description |
---|---|---|
public void | deleteUser() | Delete the current user from the SMP server. |
public String | getApplicationConnectionId() | Return the application connection ID obtained from the server after successful registration. |
public boolean | isUserRegistered() | Deprecated. This API has been deprecated as application developer can determine with the APPlication Connection Id to know whether user is registered or not. |
public boolean | registerUser(boolean) | Register the user with SAP Mobile Server. |
public boolean | registerUser(String, boolean) | Register the user with the SAP Mobile Server. |
public void | setCaptchaChallengeListener(ISMPCaptchaChallengeListener) | Set the CAPTCHA challenge listener in case of CAPTCHA enabled by the SAP Mobile Server. |
public void | setUserRegistrationListener(ISMPUserRegistrationListener) | Set the registration listener for asynchronous registration. |