public class M3SM10Plugin
extends com.dff.cordova.plugin.common.CommonPlugin
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
M3SM10Plugin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(java.lang.String action,
org.json.JSONArray args,
org.apache.cordova.CallbackContext callbackContext)
Executes the request.
|
void |
onDestroy()
The final call you receive before your activity is destroyed.
|
void |
onRequestPermissionResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults)
Called by the system when the user grants permissions
|
void |
onStart()
Called when the activity is becoming visible to the user.
|
void |
pluginInitialize()
Called after plugin construction and fields have been initialized.
|
onActivityResult, onMessage, onNewIntent, onPause, onReset, onRestoreStateForActivityResult, onResume, onSaveInstanceState, onStopexecute, execute, fromPluginUri, getServiceName, handleOpenForRead, hasPermisssion, initialize, onConfigurationChanged, onOverrideUrlLoading, onReceivedClientCertRequest, onReceivedHttpAuthRequest, privateInitialize, remapUri, requestPermissions, shouldAllowBridgeAccess, shouldAllowNavigation, shouldAllowRequest, shouldOpenExternalUrl, toPluginUripublic static final java.lang.String TAG
public void onStart()
com.dff.cordova.plugin.common.CommonPluginonStart in class com.dff.cordova.plugin.common.CommonPluginpublic void onRequestPermissionResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults)
throws org.json.JSONException
org.apache.cordova.CordovaPluginonRequestPermissionResult in class org.apache.cordova.CordovaPluginorg.json.JSONExceptionpublic void pluginInitialize()
pluginInitialize in class com.dff.cordova.plugin.common.CommonPluginpublic void onDestroy()
onDestroy in class com.dff.cordova.plugin.common.CommonPluginpublic boolean execute(java.lang.String action,
org.json.JSONArray args,
org.apache.cordova.CallbackContext callbackContext)
throws org.json.JSONException
This method is called from the WebView thread. To do a non-trivial amount of work, use: cordova.getThreadPool().execute(runnable);
To run on the UI thread, use: cordova.getActivity().runOnUiThread(runnable);
execute in class com.dff.cordova.plugin.common.CommonPluginaction - The action to execute.args - The exec() arguments.callbackContext - The callback context used when calling back into JavaScript.org.json.JSONException