Class

FwupdPlugin

[]

Description [src]

class Fwupd.Plugin : GObject.Object {
  parent_instance: GObject
}

A plugin which is used by fwupd to enumerate and update devices.

See also: FwupdRelease

[]

Ancestors

[]

Constructors

fwupd_plugin_new

Creates a new plugin.

since: 1.5.0

[]

Functions

fwupd_plugin_array_from_variant

Creates an array of new plugins using serialized data.

since: 1.5.0

fwupd_plugin_flag_from_string

Converts a string to an enumerated plugin flag.

since: 1.5.0

fwupd_plugin_flag_to_string

Converts an enumerated plugin flag to a string.

since: 1.5.0

fwupd_plugin_from_variant

Creates a new plugin using serialized data.

since: 1.5.0

[]

Instance methods

fwupd_plugin_add_flag

Adds a specific plugin flag to the plugin.

since: 1.5.0

fwupd_plugin_get_flags

Gets the plugin flags.

since: 1.5.0

fwupd_plugin_get_name

Gets the plugin name.

since: 1.5.0

fwupd_plugin_has_flag

Finds if the plugin has a specific plugin flag.

since: 1.5.0

fwupd_plugin_remove_flag

Removes a specific plugin flag from the plugin.

since: 1.5.0

fwupd_plugin_set_flags

Sets the plugin flags.

since: 1.5.0

fwupd_plugin_set_name

Sets the plugin name.

since: 1.5.0

fwupd_plugin_to_json

Adds a fwupd plugin to a JSON builder.

since: 1.5.0

fwupd_plugin_to_string

Builds a text representation of the object.

since: 1.5.0

fwupd_plugin_to_variant

Serialize the plugin data omitting sensitive fields.

since: 1.5.0

Methods inherited from GObject (43)
[]

Properties

Fwupd.Plugin:flags

The plugin flags.

since: 1.5.0

Fwupd.Plugin:name

The plugin name.

since: 1.5.0

[]

Signals

Signals inherited from GObject (1)

Class structure