DeviceStorage.storageName

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

Summary

The storageName property indicates the name of the storage area.

Note: The storageName is just a name (like sdcard), and doesn't include any path information.

Syntax

JavaScript
var name = instanceOfDeviceStorage.storageName;

Value

A string representing the name of the storage area.

Specification

Not part of any specification.

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/storagename

API B2G Device Storage Firefox OS Property Reference Référence WebAPI