Differences

This shows you the differences between two versions of the page.

Link to this comparison view

web:battery [2018/04/14 16:09] (current)
Line 1: Line 1:
 +==== Enumerations ====
 +^ Name      ^ Values ​      ^
 +|  | This class exposes no enumerations. |
  
 +==== Constants ====
 +^ Name      ^ Type     ^ Value       ^
 +|  |  | This class exposes no constants. |
 +
 +==== Events ====
 +^ Definition ​     ^ Description ​      ^
 +| Updated() | Fired when the class has updated values. |
 +
 +==== Methods ====
 +^ Definition ​     ^ Description ​      ^
 +| Update() | Tell the class to update values. |
 +
 +==== Properties ====
 +^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
 +| ChargeTime | [[http://​developer.xojo.com/​integer|Integer]] | -1 | Time until battery is full. |
 +| Charging | [[http://​developer.xojo.com/​boolean|Boolean]] | False | Returns true if the device is currently charging. |
 +| DischargeTime | [[http://​developer.xojo.com/​integer|Integer]] | -1 | Time until battery is empty. |
 +| IsSupported | Boolean(Read-Only) | False | True if the user's browser supports the battery API. |
 +| Level | [[http://​developer.xojo.com/​integer|Integer]] | -1 | Current percentage of battery. |
 +
 +==== Examples ====
 +There are currently no examples for this class.