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, onStop
execute, execute, fromPluginUri, getServiceName, handleOpenForRead, hasPermisssion, initialize, onConfigurationChanged, onOverrideUrlLoading, onReceivedClientCertRequest, onReceivedHttpAuthRequest, privateInitialize, remapUri, requestPermissions, shouldAllowBridgeAccess, shouldAllowNavigation, shouldAllowRequest, shouldOpenExternalUrl, toPluginUri
public static final java.lang.String TAG
public void onStart()
com.dff.cordova.plugin.common.CommonPlugin
onStart
in class com.dff.cordova.plugin.common.CommonPlugin
public void onRequestPermissionResult(int requestCode, java.lang.String[] permissions, int[] grantResults) throws org.json.JSONException
org.apache.cordova.CordovaPlugin
onRequestPermissionResult
in class org.apache.cordova.CordovaPlugin
org.json.JSONException
public void pluginInitialize()
pluginInitialize
in class com.dff.cordova.plugin.common.CommonPlugin
public void onDestroy()
onDestroy
in class com.dff.cordova.plugin.common.CommonPlugin
public 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.CommonPlugin
action
- The action to execute.args
- The exec() arguments.callbackContext
- The callback context used when calling back into JavaScript.org.json.JSONException