com.worklight.wlclient.api
Interface WLLoginResponseListener
-
public interface WLLoginResponseListenerThis interface defines methods that the listener for theWLAuthorizationManager.login(String, JSONObject, WLLoginResponseListener)method implements to receive notifications about the result of the method call.
-
-
Method Summary
Methods Modifier and Type Method and Description voidonFailure(WLFailResponse response)Called whenWLAuthorizationManager.loginfails.voidonSuccess()Called whenWLAuthorizationManager.logincompletes successfully.
-
-
-
Method Detail
-
onSuccess
void onSuccess()
Called whenWLAuthorizationManager.logincompletes successfully.
-
onFailure
void onFailure(WLFailResponse response)
Called whenWLAuthorizationManager.loginfails.- Parameters:
response- Response containing error information.
-
-