Top | ![]() |
![]() |
![]() |
![]() |
This object represents one item of data which may be returned from the daemon in response to a query.
gdouble
up_history_item_get_value (UpHistoryItem *history_item
);
Gets the item value.
Since: 0.9.0
void up_history_item_set_value (UpHistoryItem *history_item
,gdouble value
);
Sets the item value.
Since: 0.9.0
guint
up_history_item_get_time (UpHistoryItem *history_item
);
Gets the item time.
Since: 0.9.0
void up_history_item_set_time (UpHistoryItem *history_item
,guint time
);
Sets the item time.
Since: 0.9.0
void
up_history_item_set_time_to_present (UpHistoryItem *history_item
);
Sets the item time to the present value.
Since: 0.9.1
UpDeviceState
up_history_item_get_state (UpHistoryItem *history_item
);
Gets the item state.
Since: 0.9.0
void up_history_item_set_state (UpHistoryItem *history_item
,UpDeviceState state
);
Sets the item state.
Since: 0.9.0
gchar *
up_history_item_to_string (UpHistoryItem *history_item
);
Converts the history item to a string representation.
Since: 0.9.1
gboolean up_history_item_set_from_string (UpHistoryItem *history_item
,const gchar *text
);
Converts the history item to a string representation.
Since: 0.9.1
“value”
property“value” gdouble
Flags: Read / Write
Allowed values: >= 0
Default value: 0
Since: 0.9.0