Class
FwupdBiosSetting
Description [src]
class Fwupd.BiosSetting : GObject.Object {
parent_instance: GObject
}
A BIOS setting that represents a setting in the firmware.
Functions
fwupd_bios_setting_array_from_variant
Creates an array of new bios settings using serialized data.
since: 1.8.4
Instance methods
fwupd_bios_setting_add_possible_value
Adds a possible value to the attribute. This indicates one of the values the kernel driver will accept from userspace.
since: 1.8.4
fwupd_bios_setting_get_current_value
Gets the string representation of the current_value stored in an attribute from the kernel. This value is cached; so changing it outside of fwupd may may put it out of sync.
since: 1.8.4
fwupd_bios_setting_get_description
Gets the attribute description which is provided by some drivers to explain what they change.
since: 1.8.4
fwupd_bios_setting_get_id
Gets the unique attribute identifier for this attribute/driver.
since: 1.8.4
fwupd_bios_setting_get_lower_bound
Gets the lower bound for integer attributes or minimum length for string attributes.
since: 1.8.4
fwupd_bios_setting_get_possible_values
Find all possible values for an enumeration attribute.
since: 1.8.4
fwupd_bios_setting_get_scalar_increment
Gets the scalar increment used for integer attributes.
since: 1.8.4
fwupd_bios_setting_get_upper_bound
Gets the upper bound for integer attributes or maximum length for string attributes.
since: 1.8.4
fwupd_bios_setting_has_possible_value
Finds out if a specific possible value was added to the attribute.
since: 1.8.4
fwupd_bios_setting_map_possible_value
Attempts to map a user provided string into strings that a FwupdBiosSetting
can
support. The following heuristics are used:
- Ignore case sensitivity
- Map obviously “positive” phrases into a value that turns on the FwupdBiosSetting
- Map obviously “negative” phrases into a value that turns off the FwupdBiosSetting
.
since: 1.8.4
fwupd_bios_setting_set_current_value
Sets the string stored in an attribute. This doesn’t change the representation in the kernel.
since: 1.8.4
fwupd_bios_setting_set_lower_bound
Sets the lower bound used for BIOS integer attributes or max length for string attributes.
since: 1.8.4
fwupd_bios_setting_set_read_only
Configures whether an attribute is read only maximum length for string attributes.
since: 1.8.4
fwupd_bios_setting_set_scalar_increment
Sets the scalar increment used for BIOS integer attributes.
since: 1.8.4
fwupd_bios_setting_set_upper_bound
Sets the upper bound used for BIOS integer attributes or max length for string attributes.
since: 1.8.4
Signals
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.
Class structure
struct FwupdBiosSettingClass {
GObjectClass parent_class;
void (* _fwupd_reserved1) (
void
);
void (* _fwupd_reserved2) (
void
);
void (* _fwupd_reserved3) (
void
);
void (* _fwupd_reserved4) (
void
);
void (* _fwupd_reserved5) (
void
);
void (* _fwupd_reserved6) (
void
);
void (* _fwupd_reserved7) (
void
);
}
Class members
parent_class: GObjectClass
- No description available.
_fwupd_reserved1: void (* _fwupd_reserved1) ( void )
- No description available.
_fwupd_reserved2: void (* _fwupd_reserved2) ( void )
- No description available.
_fwupd_reserved3: void (* _fwupd_reserved3) ( void )
- No description available.
_fwupd_reserved4: void (* _fwupd_reserved4) ( void )
- No description available.
_fwupd_reserved5: void (* _fwupd_reserved5) ( void )
- No description available.
_fwupd_reserved6: void (* _fwupd_reserved6) ( void )
- No description available.
_fwupd_reserved7: void (* _fwupd_reserved7) ( void )
- No description available.