@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="StorageEstimate")
public interface StorageEstimate
| Modifier and Type | Interface and Description |
|---|---|
static interface |
StorageEstimate.Builder
The StorageEstimate dictionary is used by the StorageManager to provide estimates of the size of a site's or application's data store and how much of it is in use.
|
| Modifier and Type | Method and Description |
|---|---|
static StorageEstimate.Builder |
create() |
int |
quota()
The StorageEstimate dictionary's quota property is a conservative approximation of how much storage is allotted to the origin or Web app that called StorageManager.estimate(); there may be more space available, but there will not be less.
|
void |
setQuota(int quota)
The StorageEstimate dictionary's quota property is a conservative approximation of how much storage is allotted to the origin or Web app that called StorageManager.estimate(); there may be more space available, but there will not be less.
|
void |
setUsage(int usage)
The StorageEstimate dictionary's usage property is a conservative approximation of how much storage is allotted to the origin or Web app that called StorageManager.estimate(); there may be more space available, but there will not be less.
|
int |
usage()
The StorageEstimate dictionary's usage property is a conservative approximation of how much storage is allotted to the origin or Web app that called StorageManager.estimate(); there may be more space available, but there will not be less.
|
@JsOverlay @Nonnull static StorageEstimate.Builder create()
@JsProperty(name="quota") int quota()
@JsProperty void setQuota(int quota)
@JsProperty(name="usage") int usage()
@JsProperty void setUsage(int usage)