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.worklight.androidgap.api
Interface WLActionReceiver
public interface WLActionReceiver
The WLActionReceiver interface allows every implementing object to receive actions and data from the IBM MobileFirst Platform.
Example
\code class MyReceiver implements WLActionReceiver{ void onActionReceived(String action, JSONObject data){ // process received action } }
Method Summary
Methods Modifier and Type Method and Description void onActionReceived(java.lang.String action, JSONObject data)Handle received action Note: Actions are always delivered on a background thread.
Method Detail
onActionReceived
void onActionReceived(java.lang.String action, JSONObject data)
Handle received action Note: Actions are always delivered on a background thread. If we want to update the application user interface from the received action, do so on a main user interface thread, for example by using the Context.runOnUIThread API.
- Parameters:
action -data
-
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.