### Struct

# GUPnP ServiceAction

#### Description [src]

    struct GUPnPServiceAction {
      /* No available fields */
    }

Opaque structure for holding in-progress action data.

#### Instance methods

###### gupnp_service_action_get

Retrieves the specified action arguments.

###### gupnp_service_action_get_argument_count

Get the number of IN arguments from the `action` and return it.

Available since: 0.18.0

###### gupnp_service_action_get_gvalue

Retrieves the value of `argument` into a GValue of type `type` and returns it. The method exists only and only to satify PyGI, please use `gupnp_service_action_get_value()` and ignore this if possible.

Available since: 0.14.0

###### gupnp_service_action_get_locales

Get an ordered (preferred first) `GList` of locales preferred by the client. Free list and elements after use.

###### gupnp_service_action_get_message

Get the `SoupMessage` associated with `action`. Mainly intended for applications to be able to read HTTP headers received from clients.

Available since: 0.14.0

###### gupnp_service_action_get_name

Get the name of `action`.

###### gupnp_service_action_get_value

Retrieves the value of `argument` into `value`.

###### gupnp_service_action_get_values

A variant of #gupnp_service_action_get that uses `GList` instead of varargs.

Available since: 0.14.0

###### gupnp_service_action_return_error

Return `error_code`.

###### gupnp_service_action_return_success

Return successfully.

Available since: 1.4.2

###### gupnp_service_action_set

Sets the specified action return values.

###### gupnp_service_action_set_value

Sets the value of `argument` to `value`.

###### gupnp_service_action_set_values

Sets the specified action return values.

Available since: 0.14.0