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
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