Top |
gboolean | charging | Read |
gdouble | charging-time | Read |
gdouble | discharging-time | Read |
gdouble | level | Read |
gboolean webkit_dom_battery_manager_dispatch_event (WebKitDOMBatteryManager *self
,WebKitDOMEvent *event
,GError **error
);
webkit_dom_battery_manager_dispatch_event
has been deprecated since version 2.4 and should not be used in newly-written code.
Use webkit_dom_event_target_dispatch_event()
instead.
gboolean
webkit_dom_battery_manager_get_charging
(WebKitDOMBatteryManager *self
);
webkit_dom_battery_manager_get_charging
is deprecated and should not be used in newly-written code.
gdouble
webkit_dom_battery_manager_get_charging_time
(WebKitDOMBatteryManager *self
);
gdouble
webkit_dom_battery_manager_get_discharging_time
(WebKitDOMBatteryManager *self
);
gdouble
webkit_dom_battery_manager_get_level (WebKitDOMBatteryManager *self
);
“charging”
property“charging” gboolean
read-only gboolean BatteryManager:charging.
Flags: Read
Default value: FALSE
“charging-time”
property“charging-time” gdouble
read-only gdouble BatteryManager:charging-time.
Flags: Read
Default value: 0
“discharging-time”
property“discharging-time” gdouble
read-only gdouble BatteryManager:discharging-time.
Flags: Read
Default value: 0
“level”
property“level” gdouble
read-only gdouble BatteryManager:level.
Flags: Read
Default value: 0