Struct

GUPnPServiceStateVariableInfo

Description [src]

struct GUPnPServiceStateVariableInfo {
  char* name;
  gboolean send_events;
  gboolean is_numeric;
  GType type;
  GValue default_value;
  GValue minimum;
  GValue maximum;
  GValue step;
  GList* allowed_values;
}

This structure contains information about service state variable.

Structure members
name

The name of the state variable.

send_events

Whether this state variable can source events.

is_numeric

Wether this state variable is a numeric type (integer and float).

type

The GType of this state variable.

default_value

The default value of this state variable.

minimum

The minimum value of this state variable. Only applies to numeric data types.

maximum

The maximum value of this state variable. Only applies to numeric data types.

step

The step value of this state variable. Only applies to numeric data types.

allowed_values

The allowed values of this state variable. Only applies to string data types. Unlike the other fields in this structure, this field contains a list of (char *) strings rather than GValues.