if (location.href.indexOf('is-external=true') == -1) { parent.document.; } //-->
allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //-->
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
com.ibm.mobilefirstplatform.clientsdk.android.push.api
Interface MFPPushResponseListener
public interface MFPPushResponseListener
This interface defines the callback methods used for reporting the status of MFPPush's async methods.
Method Summary
Methods Modifier and Type Method and Description void onFailure(MFPPushException exception)Will be called by MFPPush when the request fails.
void onSuccess(org.json.JSONObject responseJSON) void onSuccess(java.lang.Object response)Will be called by MFPPush when the request succeeds.
Method Detail
onSuccess
void onSuccess(java.lang.Object response)
Will be called by MFPPush when the request succeeds. This method is called from inside a worker thread. Hence an UI updates from within this method should be done by calling runOnUiThread() method.
- Parameters:
response - - The success response.
onFailure
void onFailure(MFPPushException exception)
Will be called by MFPPush when the request fails. This method is called from inside a worker thread. Hence any UI updates from within this method should be done by calling runOnUiThread() method.
- Parameters:
exception - - Exception thrown on failure response.
onSuccess
void onSuccess(org.json.JSONObject responseJSON)
allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //-->
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
© Copyright IBM Corp. 2006, 2015. All Rights Reserved.