public class WebViewUtils
extends java.lang.Object
构造器和说明 |
---|
WebViewUtils() |
限定符和类型 | 方法和说明 |
---|---|
static android.webkit.WebBackForwardList |
getHistoricalList(android.webkit.WebView webView)
Get a historical list of webview
|
static java.lang.String |
getHistoricalUrl(android.webkit.WebView webView)
Get the latest url of webview
|
static android.webkit.WebSettings |
getWebSettings(android.webkit.WebView webView,
java.lang.String appCacheDir)
A webview setting which enable JavaScript ,DomStorage and file access.
|
static void |
syncCookie(android.content.Context context,
java.lang.String domainNameUrl,
java.lang.String... strings)
已过时。
Forces sync manager to sync now
|
public static android.webkit.WebSettings getWebSettings(android.webkit.WebView webView, java.lang.String appCacheDir)
webView
- appCacheDir
- public static void syncCookie(android.content.Context context, java.lang.String domainNameUrl, java.lang.String... strings)
context
- domainNameUrl
- strings
- public static android.webkit.WebBackForwardList getHistoricalList(android.webkit.WebView webView)
webView
- public static java.lang.String getHistoricalUrl(android.webkit.WebView webView)
webView
-