Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
WebKitDOMBatteryManager; gboolean webkit_dom_battery_manager_dispatch_event (WebKitDOMBatteryManager *self
,WebKitDOMEvent *event
,GError **error
); gboolean webkit_dom_battery_manager_get_charging (WebKitDOMBatteryManager *self
); 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" gboolean : Read "charging-time" gdouble : Read "discharging-time" gdouble : Read "level" gdouble : 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.
|
A WebKitDOMBatteryManager |
|
A WebKitDOMEvent |
|
GError |
Returns : |
A gboolean |
gboolean webkit_dom_battery_manager_get_charging
(WebKitDOMBatteryManager *self
);
|
A WebKitDOMBatteryManager |
Returns : |
A gboolean |
gdouble webkit_dom_battery_manager_get_charging_time
(WebKitDOMBatteryManager *self
);
|
A WebKitDOMBatteryManager |
Returns : |
A gdouble |
gdouble webkit_dom_battery_manager_get_discharging_time
(WebKitDOMBatteryManager *self
);
|
A WebKitDOMBatteryManager |
Returns : |
A gdouble |
gdouble webkit_dom_battery_manager_get_level
(WebKitDOMBatteryManager *self
);
|
A WebKitDOMBatteryManager |
Returns : |
A gdouble |
"charging"
property"charging" gboolean : Read
read-only gboolean BatteryManager:charging.
Default value: FALSE
"charging-time"
property"charging-time" gdouble : Read
read-only gdouble BatteryManager:charging-time.
Default value: 0
"discharging-time"
property"discharging-time" gdouble : Read
read-only gdouble BatteryManager:discharging-time.
Default value: 0
"level"
property"level" gdouble : Read
read-only gdouble BatteryManager:level.
Default value: 0