Method

FwupdPluginDeviceget_request_cnt

Declaration [src]

guint
fu_device_get_request_cnt (
  FuDevice* self,
  FwupdRequestKind request_kind
)

Description [src]

Returns the number of requests of a specific kind. This function is only useful to the daemon, which uses it to synthesize artificial events for plugins not yet ported to FwupdRequest.

Available since:1.6.2

Parameters

request_kind FwupdRequestKind
 

The type of request.

Return value

Returns: guint
 

Integer, usually 0