set_feature_flags


Description:

[ Version ( since = "1.4.5" ) ]
public bool set_feature_flags (FeatureFlags feature_flags, Cancellable? cancellable = null) throws Error

Sets the features the client supports.

This allows firmware to depend on specific front-end features, for instance showing the user an image on how to detach the hardware.

Clients can call this none or multiple times.

Parameters:

this

A Client

feature_flags

FeatureFlags, e.g. fwupd_feature_flag_update_text

cancellable

the Cancellable, or null

Returns:

true for success




2022 vala-language.org