estimate method
The estimate()
method of the StorageManager interface asks the
Storage Manager for how much storage the current
origin
takes up (usage
), and how much space is available (quota
).
This method operates asynchronously, so it returns a Promise
which
resolves once the information is available. The promise's fulfillment
handler is called with an object containing the usage and quota data.
Implementation
external JSPromise<StorageEstimate> estimate();