예제 #1
0
        /// <summary>
        /// Clears all caches. This will removes cached local data of webview.
        /// </summary>
        public void ClearCache()
        {
            Setup();

#if UNIWEBVIEW3_SUPPORTED
            UniWebViewInterface.CleanCache(listener.Name);
#elif UNIWEBVIEW2_SUPPORTED
            UniWebViewPlugin.CleanCache(listener.Name);
#else
            WWebViewPlugin.CleanCache(listener.Name);
#endif
        }
예제 #2
0
 /// <summary>
 /// Clean web view cache. This removes cached local data of web view.
 ///
 /// If you need to clear all cookies, use `ClearCookies` instead.
 /// </summary>
 public void CleanCache()
 {
     UniWebViewInterface.CleanCache(listener.Name);
 }