Class

FwupdRequest

Description [src]

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

A user request from the device.

See also: FwupdDevice

Ancestors

Constructors

fwupd_request_new

Creates a new request.

since: 1.6.2

Functions

fwupd_request_flag_from_string

Converts a string to an enumerated request flag.

since: 1.8.6

fwupd_request_flag_to_string

Converts an enumerated request flag to a string.

since: 1.8.6

fwupd_request_from_variant

Creates a new request using serialized data.

since: 1.6.2

fwupd_request_kind_from_string

Converts a string to an enumerated update message kind.

since: 1.6.2

fwupd_request_kind_to_string

Converts an enumerated update message kind to a string.

since: 1.6.2

Instance methods

fwupd_request_add_flag

Adds a specific flag to the request.

since: 1.8.6

fwupd_request_get_created

Gets when the request was created.

since: 1.6.2

fwupd_request_get_device_id

Gets the device_id that created the request.

since: 1.6.2

fwupd_request_get_flags

Gets the request flags.

since: 1.8.6

fwupd_request_get_id

Gets the ID.

since: 1.6.2

fwupd_request_get_image

Gets the update image.

since: 1.6.2

fwupd_request_get_kind

Returns what the request is currently doing.

since: 1.6.2

fwupd_request_get_message

Gets the update message, generating a generic one using the request ID if possible.

since: 1.6.2

fwupd_request_has_flag

Finds if the request has a specific flag.

since: 1.8.6

fwupd_request_remove_flag

Removes a specific flag from the request.

since: 1.8.6

fwupd_request_set_created

Sets when the request was created.

since: 1.6.2

fwupd_request_set_device_id

Sets the device_id that created the request.

since: 1.6.2

fwupd_request_set_flags

Sets the request flags.

since: 1.8.6

fwupd_request_set_id

Sets the ID.

since: 1.6.2

fwupd_request_set_image

Sets the update image.

since: 1.6.2

fwupd_request_set_kind

Sets what the request is currently doing.

since: 1.6.2

fwupd_request_set_message

Sets the update message.

since: 1.6.2

fwupd_request_to_string

Builds a text representation of the object.

since: 1.6.2

fwupd_request_to_variant

Serialize the request data.

since: 1.6.2

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Fwupd.Request:device-id

The device ID for the request.

since: 1.8.2

Fwupd.Request:flags

The flags for the request.

since: 1.8.6

Fwupd.Request:id

The request identifier.

since: 1.6.2

Fwupd.Request:image

The image link for the request.

since: 1.6.2

Fwupd.Request:kind

The kind of the request.

since: 1.6.2

Fwupd.Request:message

The message text in the request.

since: 1.6.2

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 FwupdRequestClass {
  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
  );
  
}
No description available.
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.