WebStorage.GetUsageForOrigin(String, IValueCallback) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.
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.