execute

open fun execute(action: String, args: JSONArray, callbackContext: CallbackContext): Boolean

Executes the plugin request and returns PluginResult.

Return

A PluginResult object with a status and message.

Parameters

action

The action to exectute

args

JSONArray of arguments for the plugin (possibly starting with version)

callbackContext

Used when calling back into Javascript.

Throws