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

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

Introduction

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

The text is from its open source code.

Implementation

org.apache.cordova.CordovaInterface has the following implementations.
Click this link to see all its implementation.

Method

ActivitygetActivity()
Get the Android activity.
ExecutorServicegetThreadPool()
Returns a shared thread pool that can be used for background tasks.
voidsetActivityResultCallback(CordovaPlugin plugin)
Set the plugin to be called when a sub-activity exits.
voidstartActivityForResult(CordovaPlugin command, Intent intent, int requestCode)
Launch an activity for which you would like a result when it finished.