public class ZBrowser extends ZBrowserCore
ZBrowserCore.CacheCallback, ZBrowserCore.DownloadCallback, ZBrowserCore.InvestigateListener, ZBrowserCore.PreloadCallback, ZBrowserCore.StatscacheConfig, investigateListener, LOG_TAG, requestHeaders, statistic, VERSION, zbrowserCallback, zbrowserWebChromeClientListener, zbrowserWebviewListener| Constructor and Description |
|---|
ZBrowser(ConfigCache configCache,
String diskCacheDirectory,
Context context)
Deprecated.
|
ZBrowser(ConfigCache configCache,
String diskCacheDirectory,
ZBrowserPreload.ZBrowserPreloadCallback zbrowserCallback,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanAllDataInCache(Context context) |
static void |
cleanJumpData(Context context) |
JSONObject |
getJumpLinkData(String request,
int srcTypeCode) |
static File |
getZBrowserJumpDir(Context context) |
JSONObject |
handleJsBridge(String param) |
void |
load(List<String> requests,
ZBrowserCore.DownloadCallback callback,
PreloadParam preloadParam,
Context context) |
void |
putJumpData(String domain,
CacheItem data) |
protected void |
setCacheConfig(JSONObject zbrowserConfig,
Context context) |
addCookie, cancelDebugToast, checkCacheItem, checkUrlRedirect, clearCache, destroy, finalize, getCacheConfig, getFromDiskCache, getHtmlMemCacheSize, getStaticMemCacheSize, getStatistic, getWebResourceResponse, getWebResourceResponse, load, onCallWebviewLoadUrl, onInitWebviewEnded, onInitWebviewStarted, onJumpPreloadEnded, onJumpPreloadStarted, onOpenUrl, putToDiskCache, removeCacheItem, removeFromDiskCache, setCacheCallback, setCacheConfig, setInvestigateListener, setRequestHeaders, setZbrowserPreloadCallback@Deprecated public ZBrowser(@NonNull ConfigCache configCache, @NonNull String diskCacheDirectory, Context context)
ZBrowser(ConfigCache, String, ZBrowserPreload.ZBrowserPreloadCallback )configCache - diskCacheDirectory - public ZBrowser(@NonNull
ConfigCache configCache,
@NonNull
String diskCacheDirectory,
@NonNull
ZBrowserPreload.ZBrowserPreloadCallback zbrowserCallback,
Context context)
@Nullable public JSONObject getJumpLinkData(@NonNull String request, int srcTypeCode) throws JSONException
JSONExceptionpublic void load(List<String> requests, ZBrowserCore.DownloadCallback callback, PreloadParam preloadParam, Context context)
public JSONObject handleJsBridge(String param)
public static void cleanJumpData(Context context)
public void cleanAllDataInCache(Context context)
protected void setCacheConfig(JSONObject zbrowserConfig, Context context)