Share via


WebStorage.GetQuotaForOrigin(String, IValueCallback) Method

Definition

Gets the storage quota for the Web SQL Database API for the given origin.

[Android.Runtime.Register("getQuotaForOrigin", "(Ljava/lang/String;Landroid/webkit/ValueCallback;)V", "GetGetQuotaForOrigin_Ljava_lang_String_Landroid_webkit_ValueCallback_Handler")]
public virtual void GetQuotaForOrigin (string? origin, Android.Webkit.IValueCallback? callback);
[<Android.Runtime.Register("getQuotaForOrigin", "(Ljava/lang/String;Landroid/webkit/ValueCallback;)V", "GetGetQuotaForOrigin_Ljava_lang_String_Landroid_webkit_ValueCallback_Handler")>]
abstract member GetQuotaForOrigin : string * Android.Webkit.IValueCallback -> unit
override this.GetQuotaForOrigin : string * Android.Webkit.IValueCallback -> unit

Parameters

origin
String
callback
IValueCallback
Attributes

Remarks

Gets the storage quota for the Web SQL Database API for the given origin. The quota is given in bytes and the origin is specified using its string representation. This method operates asynchronously, with the result being provided via a ValueCallback.

Java documentation for android.webkit.WebStorage.getQuotaForOrigin(java.lang.String, android.webkit.ValueCallback<java.lang.Long>).

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