This API is available on Firefox OS for privileged or certified applications 仅。
reason
property gives the nature of the change that occurred.
var reason = instanceOfDeviceStorageChangeEvent.reason;
A string representing the reason for the change. Possible values are:
created
,
modified
,或
deleted
.
Not part of any specification.