ServiceProxyAction.plain


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.6.6" ) ]
public ServiceProxyAction.plain (string action)

Prepares action action with to be sent off to a remote service later with call_action or call_action_async if no arguments required or by adding more parameters with gupnp_service_proxy_action_add

After the action call has finished, the results of the call may be retrived from the ServiceProxyAction by using get_result, get_result_list or get_result_hash

```c GUPnPServiceProxyAction *action = gupnp_service_proxy_action_new_plain ("GetVolume"); gupnp_service_proxy_action_add (action, "InstanceID", value_instance); gupnp_service_proxy_action_add (action, "Channel", value_channel); ````

Parameters:

action

The name of a remote action to call

Returns:

A newly created ServiceProxyAction