Query: gupnp_service_proxy_add_notify
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GUPNP_SERVICE_PROXY_ADD_NOTIFY(3) 1 GUPNP_SERVICE_PROXY_ADD_NOTIFY(3) gupnp_service_proxy_add_notify - Sets up callback for variable change notificationSYNOPSISbool gupnp_service_proxy_add_notify (resource $proxy, string $value, int $type, mixed $callback, [mixed $arg])DESCRIPTIONSets up callback to be called whenever a change notification for variable is recieved.PARAMETERSo $proxy - A service proxy identifier. o $value - The variable to add notification for. o $type - The type of the variable. Type can be one of the following values: o GUPNP_TYPE_BOOLEAN - Type of the variable is boolean. o GUPNP_TYPE_INT - Type of the variable is integer. o GUPNP_TYPE_LONG - Type of the variable is long. o GUPNP_TYPE_DOUBLE - Type of the variable is double. o GUPNP_TYPE_FLOAT - Type of the variable is float. o GUPNP_TYPE_STRING - Type of the variable is string. o $callback - The callback to call when variable changes. Typically, callback function takes on three parameters. The $variable parameter being the first, $value parameter being the second, and the $arg is third. o $arg - User data for $callback.RETURN VALUESReturns TRUE on success or FALSE on failure.SEE ALSOgupnp_service_proxy_remove_notify(3). PHP Documentation Group GUPNP_SERVICE_PROXY_ADD_NOTIFY(3)
Related Man Pages |
---|
gupnp_service_notify(3) - php |
eio_dup2(3) - php |
eio_fstatvfs(3) - php |
gupnp_context_timeout_add(3) - php |
gupnp_service_proxy_action_get(3) - php |