execute
open fun execute(actionStr: String, jsVersion: JavaScriptPluginVersion, args: JSONArray, callbackContext: CallbackContext): Boolean
Abstract method to concrete subclass need to implement
Return
Whether the action was valid.
Parameters
actionStr
The action to execute@ @param jsVersion The version targeted
args
JSONArray of arguments for the plugin.
callbackContext
Used when calling back into Javascript.