Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

MozPowerManager.factoryReset()

This API is available on Firefox OS for internal applications only.

The MozPowerManager.factoryReset() method is used to reset the device to its factory state.

Warning: Using this method will erase all the user data.

Syntax

MozPowerManager.factoryReset();

Specifications

Not part of any specification.

See also

Document Tags and Contributors

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