WebStorage.SetQuotaForOrigin(String, Int64) 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.
Caution
deprecated
Sets the storage quota for the Web SQL Database API for the given origin.
[Android.Runtime.Register("setQuotaForOrigin", "(Ljava/lang/String;J)V", "GetSetQuotaForOrigin_Ljava_lang_String_JHandler")]
[System.Obsolete("deprecated")]
public virtual void SetQuotaForOrigin (string? origin, long quota);
[<Android.Runtime.Register("setQuotaForOrigin", "(Ljava/lang/String;J)V", "GetSetQuotaForOrigin_Ljava_lang_String_JHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetQuotaForOrigin : string * int64 -> unit
override this.SetQuotaForOrigin : string * int64 -> unit
Parameters
- origin
- String
- quota
- Int64
- Attributes
Remarks
Sets the storage quota for the Web SQL Database API for the given origin. The quota is specified in bytes and the origin is specified using its string representation.
This member is deprecated. Controlling quota per-origin will not be supported in future.
Java documentation for android.webkit.WebStorage.setQuotaForOrigin(java.lang.String, 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.