Fwupd.Device.flag_from_string – fwupd Reference Manual
flag_from_string
Description:
[
Version
( since =
"0.7.0"
) ]
public
static
DeviceFlags
flag_from_string
(
string
device_flag)
Converts a string to a
DeviceFlags
.
Parameters:
device_flag
A string, e.g. `require-ac`
Returns:
enumerated value
2022 vala-language.org