Java Code Examples for org.apache.cordova.CordovaPlugin#onPause()

The following examples show how to use org.apache.cordova.CordovaPlugin#onPause() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PluginManager.java    From L.TileLayer.Cordova with MIT License 5 votes vote down vote up
/**
 * Called when the system is about to start resuming a previous activity.
 *
 * @param multitasking      Flag indicating if multitasking is turned on for app
 */
public void onPause(boolean multitasking) {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        if (plugin != null) {
            plugin.onPause(multitasking);
        }
    }
}
 
Example 2
Source File: PluginManager.java    From bluemix-parking-meter with MIT License 5 votes vote down vote up
/**
 * Called when the system is about to start resuming a previous activity.
 *
 * @param multitasking      Flag indicating if multitasking is turned on for app
 */
public void onPause(boolean multitasking) {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        if (plugin != null) {
            plugin.onPause(multitasking);
        }
    }
}
 
Example 3
Source File: PluginManager.java    From cordova-amazon-fireos with Apache License 2.0 5 votes vote down vote up
/**
 * Called when the system is about to start resuming a previous activity.
 *
 * @param multitasking      Flag indicating if multitasking is turned on for app
 */
public void onPause(boolean multitasking) {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        if (plugin != null) {
            plugin.onPause(multitasking);
        }
    }
}
 
Example 4
Source File: PluginManager.java    From IoTgo_Android_App with MIT License 4 votes vote down vote up
/**
 * Called when the system is about to start resuming a previous activity.
 *
 * @param multitasking      Flag indicating if multitasking is turned on for app
 */
public void onPause(boolean multitasking) {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        plugin.onPause(multitasking);
    }
}
 
Example 5
Source File: PluginManager.java    From reader with MIT License 4 votes vote down vote up
/**
 * Called when the system is about to start resuming a previous activity.
 *
 * @param multitasking      Flag indicating if multitasking is turned on for app
 */
public void onPause(boolean multitasking) {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        plugin.onPause(multitasking);
    }
}
 
Example 6
Source File: PluginManager.java    From reader with MIT License 4 votes vote down vote up
/**
 * Called when the system is about to start resuming a previous activity.
 *
 * @param multitasking      Flag indicating if multitasking is turned on for app
 */
public void onPause(boolean multitasking) {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        plugin.onPause(multitasking);
    }
}
 
Example 7
Source File: PluginManager.java    From crosswalk-cordova-android with Apache License 2.0 4 votes vote down vote up
/**
 * Called when the system is about to start resuming a previous activity.
 *
 * @param multitasking      Flag indicating if multitasking is turned on for app
 */
public void onPause(boolean multitasking) {
    for (CordovaPlugin plugin : this.pluginMap.values()) {
        plugin.onPause(multitasking);
    }
}