Function

FwupdPlugindisplay_state_to_string

since: 1.9.6

Declaration [src]

const gchar*
fu_display_state_to_string (
  FuDisplayState display_state
)

Description [src]

Converts an enumerated type to a string.

Available since: 1.9.6

Parameters

display_state

Type: FuDisplayState

A lid state, e.g. FU_DISPLAY_STATE_CONNECTED.

Return value

Type: const gchar*

A string, or NULL for invalid.

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