Java org.apache.cordova.api CallbackContext fields, constructors, methods, implement or subclass

Example usage for Java org.apache.cordova.api CallbackContext fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.cordova.api CallbackContext.

The text is from its open source code.

Method

voiderror(JSONObject message)
Helper for error callbacks that just returns the Status.ERROR by default
voiderror(String message)
Helper for error callbacks that just returns the Status.ERROR by default
voiderror(int message)
Helper for error callbacks that just returns the Status.ERROR by default
StringgetCallbackId()
booleanisFinished()
voidsendPluginResult(PluginResult pluginResult)
voidsuccess(JSONObject message)
Helper for success callbacks that just returns the Status.OK by default
voidsuccess(String message)
Helper for success callbacks that just returns the Status.OK by default
voidsuccess(JSONArray message)
Helper for success callbacks that just returns the Status.OK by default
voidsuccess(byte[] message)
Helper for success callbacks that just returns the Status.OK by default
voidsuccess(int message)
Helper for success callbacks that just returns the Status.OK by default
voidsuccess()
Helper for success callbacks that just returns the Status.OK by default