Changes between Version 41 and Version 42 of GuiRpc


Ignore:
Timestamp:
Sep 12, 2014, 2:04:45 PM (10 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GuiRpc

    v41 v42  
    288288 If duration is zero, mode is permanent.
    289289 Otherwise revert to last permanent mode after duration seconds elapse.
     290
     291== Android-specific RPCs ==
     292
     293The RPC
     294{{{
     295int report_device_status(DEVICE_STATUS&);
     296}}}
     297
     298is used to convey information from Android GUIs to the BOINC client, including
     299 * whether the device is plugged in via USB or AC power
     300 * the battery charge level, state, and temperature
     301 * whether the device is connected via !WiFi
     302 * whether the user is active (e.g. whether the screen is on)
     303 * the device name (supplied by the user)
     304
     305Android GUIs should call this fairly often (every 10 sec at least).
     306
     307There is no C++ binding for this RPC;
     308there's a Java binding in the Android GUI code.