public interface CordovaWebView
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CORDOVA_VERSION |
Modifier and Type | Method and Description |
---|---|
boolean |
backHistory() |
boolean |
canGoBack() |
void |
clearCache() |
void |
clearCache(boolean b)
Deprecated.
|
void |
clearHistory() |
android.content.Context |
getContext() |
ICordovaCookieManager |
getCookieManager() |
CordovaWebViewEngine |
getEngine() |
PluginManager |
getPluginManager() |
CordovaPreferences |
getPreferences() |
CordovaResourceApi |
getResourceApi() |
java.lang.String |
getUrl() |
android.view.View |
getView() |
void |
handleDestroy() |
void |
handlePause(boolean keepRunning) |
void |
handleResume(boolean keepRunning) |
void |
handleStart() |
void |
handleStop() |
void |
hideCustomView()
Deprecated.
|
void |
init(CordovaInterface cordova,
java.util.List<PluginEntry> pluginEntries,
CordovaPreferences preferences) |
boolean |
isButtonPlumbedToJs(int keyCode) |
boolean |
isCustomViewShowing()
Deprecated.
|
boolean |
isInitialized() |
void |
loadUrl(java.lang.String url) |
void |
loadUrlIntoView(java.lang.String url,
boolean recreatePlugins) |
void |
onNewIntent(android.content.Intent intent) |
java.lang.Object |
postMessage(java.lang.String id,
java.lang.Object data) |
void |
sendJavascript(java.lang.String statememt)
Deprecated.
|
void |
sendPluginResult(PluginResult cr,
java.lang.String callbackId) |
void |
setButtonPlumbedToJs(int keyCode,
boolean override) |
void |
showCustomView(android.view.View view,
android.webkit.WebChromeClient.CustomViewCallback callback)
Deprecated.
|
void |
showWebPage(java.lang.String url,
boolean openExternal,
boolean clearHistory,
java.util.Map<java.lang.String,java.lang.Object> params)
Load the specified URL in the Cordova webview or a new browser instance.
|
void |
stopLoading() |
static final java.lang.String CORDOVA_VERSION
void init(CordovaInterface cordova, java.util.List<PluginEntry> pluginEntries, CordovaPreferences preferences)
boolean isInitialized()
android.view.View getView()
void loadUrlIntoView(java.lang.String url, boolean recreatePlugins)
void stopLoading()
boolean canGoBack()
void clearCache()
@Deprecated void clearCache(boolean b)
void clearHistory()
boolean backHistory()
void handlePause(boolean keepRunning)
void onNewIntent(android.content.Intent intent)
void handleResume(boolean keepRunning)
void handleStart()
void handleStop()
void handleDestroy()
@Deprecated void sendJavascript(java.lang.String statememt)
void showWebPage(java.lang.String url, boolean openExternal, boolean clearHistory, java.util.Map<java.lang.String,java.lang.Object> params)
url
- The url to load.openExternal
- Load url in browser instead of Cordova webview.clearHistory
- Clear the history stack, so new page becomes top of historyparams
- Parameters for new app@Deprecated boolean isCustomViewShowing()
@Deprecated void showCustomView(android.view.View view, android.webkit.WebChromeClient.CustomViewCallback callback)
@Deprecated void hideCustomView()
CordovaResourceApi getResourceApi()
void setButtonPlumbedToJs(int keyCode, boolean override)
boolean isButtonPlumbedToJs(int keyCode)
void sendPluginResult(PluginResult cr, java.lang.String callbackId)
PluginManager getPluginManager()
CordovaWebViewEngine getEngine()
CordovaPreferences getPreferences()
ICordovaCookieManager getCookieManager()
java.lang.String getUrl()
android.content.Context getContext()
void loadUrl(java.lang.String url)
java.lang.Object postMessage(java.lang.String id, java.lang.Object data)