Function
FlatpakProgressCallback
Declaration
void
(* FlatpakProgressCallback) (
const char* status,
guint progress,
gboolean estimating,
gpointer user_data
)
Description [src]
The progress callback is called repeatedly during long-running operations such as installations or updates, and can be used to update progress information in a user interface.
The callback occurs in the thread-default context of the caller.
Parameters
status-
Type:
const char*A status string, suitable for display.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. progress-
Type:
guintPercentage of completion.
estimating-
Type:
gbooleanWhether
progressis just an estimate. user_data-
Type:
gpointerUser data passed to the caller.
The argument can be NULL.The data is owned by the caller of the function.