Top |
const gchar * | snapd_change_get_id () |
const gchar * | snapd_change_get_kind () |
const gchar * | snapd_change_get_summary () |
const gchar * | snapd_change_get_status () |
GPtrArray * | snapd_change_get_tasks () |
gboolean | snapd_change_get_ready () |
GDateTime * | snapd_change_get_spawn_time () |
GDateTime * | snapd_change_get_ready_time () |
const gchar * | snapd_change_get_error () |
gchar * | error | Read / Write / Construct Only |
gchar * | id | Read / Write / Construct Only |
gchar * | kind | Read / Write / Construct Only |
gboolean | ready | Read / Write / Construct Only |
GDateTime * | ready-time | Read / Write / Construct Only |
GDateTime * | spawn-time | Read / Write / Construct Only |
gchar * | status | Read / Write / Construct Only |
gchar * | summary | Read / Write / Construct Only |
GPtrArray * | tasks | Read / Write / Construct Only |
A SnapdChange contains information on how a request is progressing. Progress information is returned in a SnapdProgressCallback.
const gchar *
snapd_change_get_id (SnapdChange *change
);
Get the unique ID for this change.
Since: 1.5
const gchar *
snapd_change_get_kind (SnapdChange *change
);
Gets the kind of change this is.
Since: 1.5
const gchar *
snapd_change_get_summary (SnapdChange *change
);
Get a human readable description of the change.
Since: 1.5
const gchar *
snapd_change_get_status (SnapdChange *change
);
Get the status of the change.
Since: 1.5
GPtrArray *
snapd_change_get_tasks (SnapdChange *change
);
Get the tasks that are in this change.
Since: 1.5
gboolean
snapd_change_get_ready (SnapdChange *change
);
Get if this change is completed.
Since: 1.5
GDateTime *
snapd_change_get_spawn_time (SnapdChange *change
);
Get the time this change started.
Since: 1.5
GDateTime *
snapd_change_get_ready_time (SnapdChange *change
);
Get the time this task completed or NULL
if not yet completed.
Since: 1.5
const gchar *
snapd_change_get_error (SnapdChange *change
);
Gets the error string associated with this change.
Since: 1.30
typedef struct _SnapdChange SnapdChange;
SnapdChange contains information on a current Snap transaction.
Since: 1.5
“error”
property“error” gchar *
Error associated with change.
Flags: Read / Write / Construct Only
Default value: NULL
“id”
property“id” gchar *
ID of change.
Flags: Read / Write / Construct Only
Default value: NULL
“kind”
property“kind” gchar *
Kind of change.
Flags: Read / Write / Construct Only
Default value: NULL
“ready”
property“ready” gboolean
TRUE when change complete.
Flags: Read / Write / Construct Only
Default value: FALSE
“ready-time”
property“ready-time” GDateTime *
Time this change completed.
Flags: Read / Write / Construct Only
“spawn-time”
property“spawn-time” GDateTime *
Time this change started.
Flags: Read / Write / Construct Only
“status”
property“status” gchar *
Status of change.
Flags: Read / Write / Construct Only
Default value: NULL
“summary”
property“summary” gchar *
Summary of change.
Flags: Read / Write / Construct Only
Default value: NULL