Condividi tramite


WebChromeClient.OnExceededDatabaseQuota Method

Definition

Caution

deprecated

Tell the client that the quota has been exceeded for the Web SQL Database API for a particular origin and request a new quota.

[Android.Runtime.Register("onExceededDatabaseQuota", "(Ljava/lang/String;Ljava/lang/String;JJJLandroid/webkit/WebStorage$QuotaUpdater;)V", "GetOnExceededDatabaseQuota_Ljava_lang_String_Ljava_lang_String_JJJLandroid_webkit_WebStorage_QuotaUpdater_Handler")]
[System.Obsolete("deprecated")]
public virtual void OnExceededDatabaseQuota (string? url, string? databaseIdentifier, long quota, long estimatedDatabaseSize, long totalQuota, Android.Webkit.WebStorage.IQuotaUpdater? quotaUpdater);
[<Android.Runtime.Register("onExceededDatabaseQuota", "(Ljava/lang/String;Ljava/lang/String;JJJLandroid/webkit/WebStorage$QuotaUpdater;)V", "GetOnExceededDatabaseQuota_Ljava_lang_String_Ljava_lang_String_JJJLandroid_webkit_WebStorage_QuotaUpdater_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member OnExceededDatabaseQuota : string * string * int64 * int64 * int64 * Android.Webkit.WebStorage.IQuotaUpdater -> unit
override this.OnExceededDatabaseQuota : string * string * int64 * int64 * int64 * Android.Webkit.WebStorage.IQuotaUpdater -> unit

Parameters

url
String

The URL of the page that triggered the notification

databaseIdentifier
String

The identifier of the database where the quota was exceeded.

quota
Int64

The quota for the origin, in bytes

estimatedDatabaseSize
Int64

The estimated size of the offending database, in bytes

totalQuota
Int64

The total quota for all origins, 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.onExceededDatabaseQuota(java.lang.String, java.lang.String, long, 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