| Top |
| UpDeviceKind | up_device_kind_from_string () |
| const gchar * | up_device_kind_to_string () |
| UpDeviceState | up_device_state_from_string () |
| const gchar * | up_device_state_to_string () |
| UpDeviceTechnology | up_device_technology_from_string () |
| const gchar * | up_device_technology_to_string () |
| UpQosKind | up_qos_kind_from_string () |
| const gchar * | up_qos_kind_to_string () |
| UpSleepKind | up_sleep_kind_from_string () |
| const gchar * | up_sleep_kind_to_string () |
| enum | UpDeviceKind |
| enum | UpDeviceState |
| enum | UpDeviceTechnology |
| enum | UpQosKind |
| enum | UpSleepKind |
These helper functions provide a way to marshal enumerated values to text and back again.
See also: UpClient, UpDevice
UpDeviceKind
up_device_kind_from_string (const gchar *type);
Converts a string to a UpDeviceKind.
Since: 0.9.0
const gchar *
up_device_kind_to_string (UpDeviceKind type_enum);
Converts a UpDeviceKind to a string.
Since: 0.9.0
UpDeviceState
up_device_state_from_string (const gchar *state);
Converts a string to a UpDeviceState.
Since: 0.9.0
const gchar *
up_device_state_to_string (UpDeviceState state_enum);
Converts a UpDeviceState to a string.
Since: 0.9.0
UpDeviceTechnology
up_device_technology_from_string (const gchar *technology);
Converts a string to a UpDeviceTechnology.
Since: 0.9.0
const gchar *
up_device_technology_to_string (UpDeviceTechnology technology_enum);
Converts a UpDeviceTechnology to a string.
Since: 0.9.0
UpQosKind
up_qos_kind_from_string (const gchar *type);
Converts a string to a UpQosKind.
Since: 0.9.0
const gchar *
up_qos_kind_to_string (UpQosKind type);
Converts a UpQosKind to a string.
Since: 0.9.0
UpSleepKind
up_sleep_kind_from_string (const gchar *sleep_kind);
Converts a string to a UpSleepKind.
Since: 0.9.10
const gchar *
up_sleep_kind_to_string (UpSleepKind sleep_kind_enum);
Converts a UpSleepKind to a string.
Since: 0.9.10