This method is used to log in to the HurreeSDK.

The deportKeyValues method and deportUserLoginValues method must be called before this method.

Method Signature

void sendLoginDetails(CallBack callBack)


These are the arguments that define the method.

Name Type Mandatory Description
CallBack Class Mandatory CallBack is a promise to the caller who initiated that method, to get an event after that task gets completed.

Sample Code

Analytics.getInstance(this).sendLoginDetails(new CallBack() {
    public void onSuccess(String response) {
        // Action when call successful

    public void onFailure(String error) {
        // Action when call fails

results matching ""

    No results matching ""