Compartir a través de


WebStorage.GetUsageForOrigin(String, IValueCallback) Method

Definition

Gets the amount of storage currently being used by the Web SQL Database APIs by the given origin.

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

Parameters

origin
String
callback
IValueCallback
Attributes

Remarks

Gets the amount of storage currently being used by the Web SQL Database APIs by the given origin. The amount 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.getUsageForOrigin(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