Tizen Native API
4.0
|
Functions | |
Eina_Bool | eldbus_proxy_properties_monitor (Eldbus_Proxy *proxy, Eina_Bool enable) |
Eldbus_Pending * | eldbus_proxy_property_get (Eldbus_Proxy *proxy, const char *name, Eldbus_Message_Cb cb, const void *data) |
Eldbus_Pending * | eldbus_proxy_property_set (Eldbus_Proxy *proxy, const char *name, const char *sig, const void *value, Eldbus_Message_Cb cb, const void *data) |
Eldbus_Pending * | eldbus_proxy_property_get_all (Eldbus_Proxy *proxy, Eldbus_Message_Cb cb, const void *data) |
Eldbus_Signal_Handler * | eldbus_proxy_properties_changed_callback_add (Eldbus_Proxy *proxy, Eldbus_Signal_Cb cb, const void *data) |
Eina_Value * | eldbus_proxy_property_local_get (Eldbus_Proxy *proxy, const char *name) |
const Eina_Hash * | eldbus_proxy_property_local_get_all (Eldbus_Proxy *proxy) |
Eldbus_Signal_Handler* eldbus_proxy_properties_changed_callback_add | ( | Eldbus_Proxy * | proxy, |
Eldbus_Signal_Cb | cb, | ||
const void * | data | ||
) |
proxy | The proxy object on which to register the callback. |
cb | The callback to be called when receiving the signal. |
data | Data to be passed to the callback. |
Eina_Bool eldbus_proxy_properties_monitor | ( | Eldbus_Proxy * | proxy, |
Eina_Bool | enable | ||
) |
After enable you can call eldbus_proxy_property_local_get() or eldbus_proxy_property_local_get_all() to get cached properties.
proxy | bus+path+interface that the properties belong |
enable | enable or disable properties monitor |
Eldbus_Pending* eldbus_proxy_property_get | ( | Eldbus_Proxy * | proxy, |
const char * | name, | ||
Eldbus_Message_Cb | cb, | ||
const void * | data | ||
) |
proxy | The proxy object on which to do the query. |
name | The property name to get. |
cb | The callback to be called when receiving an answer. |
data | Data to be passed to the callback. |
Eldbus_Pending* eldbus_proxy_property_get_all | ( | Eldbus_Proxy * | proxy, |
Eldbus_Message_Cb | cb, | ||
const void * | data | ||
) |
proxy | The proxy object on which to do the query. |
cb | The callback to be called when receiving an answer. |
data | Data to be passed to the callback. |
Eina_Value* eldbus_proxy_property_local_get | ( | Eldbus_Proxy * | proxy, |
const char * | name | ||
) |
This only work if you have enable eldbus_proxy_properties_monitor or if you have call eldbus_proxy_event_callback_add of type ELDBUS_PROXY_EVENT_PROPERTY_CHANGED and the property you want had changed.
proxy | The proxy object on which to do the query. |
name | The property name to get. |
const Eina_Hash* eldbus_proxy_property_local_get_all | ( | Eldbus_Proxy * | proxy | ) |
This only work if you have enable eldbus_proxy_properties_monitor or if you have call eldbus_proxy_event_callback_add of type ELDBUS_PROXY_EVENT_PROPERTY_CHANGED.
proxy | The proxy object on which to do the query. |
Eldbus_Pending* eldbus_proxy_property_set | ( | Eldbus_Proxy * | proxy, |
const char * | name, | ||
const char * | sig, | ||
const void * | value, | ||
Eldbus_Message_Cb | cb, | ||
const void * | data | ||
) |
proxy | The proxy object on which to do the query. |
name | The property name to get. |
sig | |
value | The value to set. |
cb | The callback to be called when receiving an answer. |
data | Data to be passed to the callback. |