共用方式為


WebChromeClient.OnReachedMaxAppCacheSize Method

Definition

Caution

deprecated

Notify the host application that the Application Cache has reached the maximum size.

[Android.Runtime.Register("onReachedMaxAppCacheSize", "(JJLandroid/webkit/WebStorage$QuotaUpdater;)V", "GetOnReachedMaxAppCacheSize_JJLandroid_webkit_WebStorage_QuotaUpdater_Handler")]
[System.Obsolete("deprecated")]
public virtual void OnReachedMaxAppCacheSize (long requiredStorage, long quota, Android.Webkit.WebStorage.IQuotaUpdater? quotaUpdater);
[<Android.Runtime.Register("onReachedMaxAppCacheSize", "(JJLandroid/webkit/WebStorage$QuotaUpdater;)V", "GetOnReachedMaxAppCacheSize_JJLandroid_webkit_WebStorage_QuotaUpdater_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member OnReachedMaxAppCacheSize : int64 * int64 * Android.Webkit.WebStorage.IQuotaUpdater -> unit
override this.OnReachedMaxAppCacheSize : int64 * int64 * Android.Webkit.WebStorage.IQuotaUpdater -> unit

Parameters

requiredStorage
Int64

The amount of storage required by the Application Cache operation that triggered this notification, in bytes.

quota
Int64

the current maximum Application Cache size, in bytes

quotaUpdater
WebStorage.IQuotaUpdater

An instance of WebStorage.QuotaUpdater which must be used to inform the WebView of the new quota.

Attributes

Remarks

Java documentation for android.webkit.WebChromeClient.onReachedMaxAppCacheSize(long, long, android.webkit.QuotaUpdater).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to