Function

FwupdPluginpower_state_to_string

since: 1.8.11

Declaration [src]

const gchar*
fu_power_state_to_string (
  FuPowerState val
)

Description [src]

Converts an enumerated value to a string.

Available since: 1.8.11

Parameters

val

Type: FuPowerState

Value, e.g. FU_POWER_STATE_AC.

Return value

Type: const gchar*

Identifier string.

The data is owned by the called function.
The value is a NUL terminated UTF-8 string.