Function

FwupdPluginpower_state_to_string

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 FuPowerState
 

Value, e.g. FU_POWER_STATE_AC.

Return value

Returns: const gchar*
 

Identifier string.

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