to top
Android APIs
Added in API level 5
public static interface

WebStorage.QuotaUpdater

android.webkit.WebStorage.QuotaUpdater

Class Overview

Encapsulates a callback function which is used to provide a new quota for a JavaScript storage API. See onExceededDatabaseQuota(String, String, long, long, long, WebStorage.QuotaUpdater) and onReachedMaxAppCacheSize(long, long, WebStorage.QuotaUpdater).

Summary

Public Methods

? Examples
abstract void updateQuota(long newQuota)
Provides a new quota, specified in bytes.

Public Methods

public abstract void updateQuota (long newQuota)

Added in API level 5

Provides a new quota, specified in bytes.

Parameters
newQuota the new quota, in bytes
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.