WebAPI/PowerManagementAPI: Difference between revisions

Jump to navigation Jump to search
m
(Provide a new API: restart() and add some comments.)
Line 9: Line 9:
     * This API will power off the machine.
     * This API will power off the machine.
     */
     */
   void             powerOff();
   void powerOff();
   
   
   /**
   /**
     * This API will completely shut down and boot the machine.
     * This API will completely shut down and boot the machine.
     */
     */
   void             reboot();
   void reboot();
   
   
   /**
   /**
     * This API will restart the Gecko processes without powering off the machine.
     * This API will restart the Gecko processes without powering off the machine.
     */
     */
   void             restart();
   void restart();
   
   
   /**
   /**
Confirmed users
110

edits

Navigation menu