set_feature_flags_async


Description:

[ Version ( since = "1.5.0" ) ]
public async bool set_feature_flags_async (FeatureFlags feature_flags, Cancellable? cancellable) 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.

Parameters:

this

A Client

feature_flags

FeatureFlags, e.g. fwupd_feature_flag_update_text

cancellable

the Cancellable, or null

callback

the function to run on completion

callback_data

the data to pass to callback