-
public class ZBrowser extends ZBrowserCore
-
-
Constructor Summary
Constructors Constructor Description ZBrowser(ConfigCache configCache, String diskCacheDirectory, Context context)Must be using constructor ( ZBrowser(ConfigCache configCache, String diskCacheDirectory, ZBrowserPreload.ZBrowserPreloadCallback zbrowserCallback, Context context)
-
Method Summary
Modifier and Type Method Description JSONObjectgetJumpLinkData(@NonNull() String request, int srcTypeCode)voidload(List<String> requests, ZBrowserCore.DownloadCallback callback, PreloadParam preloadParam, Context context)voidputJumpData(String domain, CacheItem data)JSONObjecthandleJsBridge(String param)static FilegetZBrowserJumpDir(Context context)static voidcleanJumpData(Context context)voidcleanAllDataInCache(Context context)-
Methods inherited from class com.zing.zalo.zbrowser.ZBrowserCore
addCookie, cancelDebugToast, checkCacheItem, checkUrlRedirect, clearCache, destroy, getCacheConfig, getFromDiskCache, getHtmlMemCacheSize, getStaticMemCacheSize, getStatistic, getSyncWebResourceResponse, getWebResourceResponse, getWebResourceResponse, isNeedToPreload, load, onCallWebviewLoadUrl, onInitWebviewEnded, onInitWebviewStarted, onJumpPreloadEnded, onJumpPreloadStarted, onOpenUrl, removeCacheItem, removeFromDiskCache, setCacheCallback, setCacheConfig, setInvestigateListener, setRequestHeaders, setZbrowserPreloadCallback -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ZBrowser
ZBrowser(ConfigCache configCache, String diskCacheDirectory, Context context)
Must be using constructor (
-
ZBrowser
ZBrowser(ConfigCache configCache, String diskCacheDirectory, ZBrowserPreload.ZBrowserPreloadCallback zbrowserCallback, Context context)
-
-
Method Detail
-
getJumpLinkData
@Nullable() JSONObject getJumpLinkData(@NonNull() String request, int srcTypeCode)
-
load
void load(List<String> requests, ZBrowserCore.DownloadCallback callback, PreloadParam preloadParam, Context context)
-
putJumpData
void putJumpData(String domain, CacheItem data)
-
handleJsBridge
JSONObject handleJsBridge(String param)
-
getZBrowserJumpDir
static File getZBrowserJumpDir(Context context)
-
cleanJumpData
static void cleanJumpData(Context context)
-
cleanAllDataInCache
void cleanAllDataInCache(Context context)
-
-
-
-