MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/8d22564490d8

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

var name = instanceOfDeviceStorage.storageName;

Value

A string representing the name of the storage area.

Specification

Not part of any specification.

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, fscholz, MHasan, kscarfone, Jeremie
 Last updated by: chrisdavidmills,