Class (GI Struct)

GUPnP-1.6GUPnPServiceActionAbstract

Opaque structure for holding in-progress action data.

Index

Constructors

Properties

Methods

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

    Returns number

    The number of IN arguments from the action.

  • 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.

    Parameters

    • argument: string

      The name of the argument to retrieve

    • type: GType

      The type of argument to retrieve

    Returns unknown

    Value as GObject.Value associated with action. g_value_unset() and g_slice_free() it after usage.

  • Return error_code.

    Parameters

    • error_code: number

      The error code

    • error_description: string

      The error description, or null if error_code is one of #GUPNP_CONTROL_ERROR_INVALID_ACTION, #GUPNP_CONTROL_ERROR_INVALID_ARGS, #GUPNP_CONTROL_ERROR_OUT_OF_SYNC or #GUPNP_CONTROL_ERROR_ACTION_FAILED, in which case a description is provided automatically.

    Returns void

  • Sets the value of argument to value.

    Parameters

    • argument: string

      The name of the return value to retrieve

    • value: any

      The GObject.Value to store the return value

    Returns void