Method
GUPnPServiceProxyadd_notify_full
since: 0.20.12
Declaration [src]
gboolean
gupnp_service_proxy_add_notify_full (
GUPnPServiceProxy* proxy,
const char* variable,
GType type,
GUPnPServiceProxyNotifyCallback callback,
gpointer user_data,
GDestroyNotify notify
)
Description [src]
Sets up callback to be called whenever a change notification for
variable is recieved.
Available since: 0.20.12
This method is renamed to gupnp_service_proxy_add_notify() in language bindings
Parameters
variable-
Type:
const char*The variable to add notification for.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. type-
Type:
GTypeThe type of the variable.
callback-
Type:
GUPnPServiceProxyNotifyCallbackThe callback to call when
variablechanges. user_data-
Type:
gpointerUser data for
callback.The argument can be NULL.The data is owned by the caller of the function. notify-
Type:
GDestroyNotifyFunction to call when the notification is removed, or
NULL.The argument can be NULL.