Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level
19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# WebStorage.QuotaUpdater

*** ** * ** ***


`
public
static


interface
WebStorage.QuotaUpdater
`


`


`

|---|
| android.webkit.WebStorage.QuotaUpdater |

<br />

*** ** * ** ***


**This interface was deprecated
in API level 19.**   

This class is obsolete and no longer used.

Encapsulates a callback function which is used to provide a new quota
for a JavaScript storage API.
See
`https://developer.android.com/reference/android/webkit/WebChromeClient#onExceededDatabaseQuota(java.lang.String,%20java.lang.String,%20long,%20long,%20long,%20android.webkit.WebStorage.QuotaUpdater)`.

## Summary

| ### Public methods ||
|---|---|
| ` abstract void` | ` https://developer.android.com/reference/android/webkit/WebStorage.QuotaUpdater#updateQuota(long)(long newQuota) ` Provides a new quota, specified in bytes. |

## Public methods

### updateQuota

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract void updateQuota (long newQuota)
```

Provides a new quota, specified in bytes.

<br />

| Parameters ||
|---|---|
| `newQuota` | `long`: the new quota, in bytes <br /> |