FwupdPlugin.Config
Description: Reference for FwupdPlugin.Config

### Class

# FwupdPluginConfig

since: 1.0

#### Description

    class FwupdPlugin.Config : GObject.Object
    {
      /* No available fields */
    }

No description available.

Available since: 1.0

#### Hierarchy

#### Ancestors

- GObject

#### Constructors

###### fu_config_new

Creates a new `FuConfig`.

since: 1.9.1

#### Instance methods

###### fu_config_get_value

Return the value of a key, falling back to the default value if missing.

since: 1.9.1

###### fu_config_get_value_bool

Return the value of a key, falling back to the default value if missing or empty.

since: 1.9.1

###### fu_config_get_value_strv

Return the value of a key, falling back to the default value if missing.

since: 1.9.1

###### fu_config_get_value_u64

Return the value of a key, falling back to the default value if missing or empty.

since: 1.9.1

###### fu_config_load

Loads the configuration files from all possible locations.

since: 1.9.1

###### fu_config_reset_defaults

Reset all the keys back to the default values.

since: 1.9.15

###### fu_config_set_default

Sets a default config value.

unstable since: 2.0.0

###### fu_config_set_value

Sets a plugin config value, saving the new data back to the default config file.

since: 1.9.1

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Signals

###### FwupdPlugin.Config::changed

The ::changed signal is emitted when the config file has changed, for instance when a parameter has been modified.

since: 1.0

###### FwupdPlugin.Config::loaded

The ::loaded signal is emitted when the config file has loaded, typically at startup.

since: 1.0

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

unstable since: 2.0

#### Class structure

    struct FwupdPluginConfigClass {
      GObjectClass parent_class;

    }

No description available.

###### Class members

`parent_class: GObjectClass`
  No description available.