Example usage for Java org.apache.cordova.api CallbackContext fields, constructors, methods, implement or subclass
The text is from its open source code.
void | error(JSONObject message) Helper for error callbacks that just returns the Status.ERROR by default |
void | error(String message) Helper for error callbacks that just returns the Status.ERROR by default |
void | error(int message) Helper for error callbacks that just returns the Status.ERROR by default |
String | getCallbackId() |
boolean | isFinished() |
void | sendPluginResult(PluginResult pluginResult) |
void | success(JSONObject message) Helper for success callbacks that just returns the Status.OK by default |
void | success(String message) Helper for success callbacks that just returns the Status.OK by default |
void | success(JSONArray message) Helper for success callbacks that just returns the Status.OK by default |
void | success(byte[] message) Helper for success callbacks that just returns the Status.OK by default |
void | success(int message) Helper for success callbacks that just returns the Status.OK by default |
void | success() Helper for success callbacks that just returns the Status.OK by default |