@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface StorageEstimate
| Modifier and Type | Method and Description |
|---|---|
static StorageEstimate |
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.
|
default StorageEstimate |
quota(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.
|
default StorageEstimate |
usage(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 create()
@JsProperty(name="quota") int quota()
@JsProperty void setQuota(int quota)
@JsOverlay @Nonnull default StorageEstimate quota(int quota)
@JsProperty(name="usage") int usage()
@JsProperty void setUsage(int usage)
@JsOverlay @Nonnull default StorageEstimate usage(int usage)