WebAPI/PowerManagementAPI: Difference between revisions

Provide a new API: restart() and add some comments.
(Provide a new API: restart() and add some comments.)
Line 6: Line 6:


  interface PowerManager {
  interface PowerManager {
   void powerOff();
  /**
   void reboot();
    * This API will power off the machine.
    */
   void             powerOff();
  /**
    * This API will completely shut down and boot the machine.
    */
   void             reboot();
  /**
    * This API will restart the Gecko processes without powering off the machine.
    */
  void              restart();
   
   
   /**
   /**
Confirmed users
110

edits