DeviceStorage.lowDiskSpace

This API is available on Firefox OS for privileged or certified applications only.

Summary

The lowDiskSpace read-only property of the DeviceStorage interface returns a Boolean value that returns true if this storage area is close to being full.

Syntax

JavaScript
var haveIGotSpace = instanceOfDeviceStorage.lowDiskSpace;

Value

A Boolean.

Specification

Not part of any specification.

Browser compatibility

Supported in Firefox OS 2.5 and above.

See also

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/devicestorage/lowdiskspace

API B2G Firefox OS Non-standard Property Reference WebAPI