| Top |
| const gchar * | snapd_task_get_id () |
| const gchar * | snapd_task_get_kind () |
| const gchar * | snapd_task_get_summary () |
| const gchar * | snapd_task_get_status () |
| gboolean | snapd_task_get_ready () |
| const gchar * | snapd_task_get_progress_label () |
| gint64 | snapd_task_get_progress_done () |
| gint64 | snapd_task_get_progress_total () |
| GDateTime * | snapd_task_get_spawn_time () |
| GDateTime * | snapd_task_get_ready_time () |
| SnapdTaskData * | data | Read / Write / Construct Only |
| char * | id | Read / Write / Construct Only |
| char * | kind | Read / Write / Construct Only |
| gint64 | progress-done | Read / Write / Construct Only |
| char * | progress-label | Read / Write / Construct Only |
| gint64 | progress-total | Read / Write / Construct Only |
| gboolean | ready | Read / Write / Construct Only |
| GDateTime * | ready-time | Read / Write / Construct Only |
| GDateTime * | spawn-time | Read / Write / Construct Only |
| char * | status | Read / Write / Construct Only |
| char * | summary | Read / Write / Construct Only |
const gchar *
snapd_task_get_id (SnapdTask *task);
Get the unique ID for this task.
Since: 1.0
const gchar *
snapd_task_get_kind (SnapdTask *task);
Gets the kind of task this is.
Since: 1.0
const gchar *
snapd_task_get_summary (SnapdTask *task);
Get a human readable description of the task.
Since: 1.0
const gchar *
snapd_task_get_status (SnapdTask *task);
Get the status of the task.
Since: 1.0
gboolean
snapd_task_get_ready (SnapdTask *task);
snapd_task_get_ready has been deprecated since version 1.5 and should not be used in newly-written code.
Use snapd_change_get_ready() instead.
Get if this task is completed.
Since: 1.0
const gchar *
snapd_task_get_progress_label (SnapdTask *task);
Get the the label associated with the progress.
Since: 1.5
gint64
snapd_task_get_progress_done (SnapdTask *task);
Get the the number of items completed in this task.
Since: 1.0
gint64
snapd_task_get_progress_total (SnapdTask *task);
Get the the total number of items to be completed in this task.
Since: 1.0
GDateTime *
snapd_task_get_spawn_time (SnapdTask *task);
Get the time this task started.
Since: 1.0
“data” property “data” SnapdTaskData *
Extra data of task.
Owner: SnapdTask
Flags: Read / Write / Construct Only
“id” property “id” char *
ID of task.
Owner: SnapdTask
Flags: Read / Write / Construct Only
Default value: NULL
“kind” property “kind” char *
Kind of task.
Owner: SnapdTask
Flags: Read / Write / Construct Only
Default value: NULL
“progress-done” property “progress-done” gint64
Number of items done in this task.
Owner: SnapdTask
Flags: Read / Write / Construct Only
Allowed values: >= 0
Default value: 0
“progress-label” property “progress-label” char *
Label for progress.
Owner: SnapdTask
Flags: Read / Write / Construct Only
Default value: NULL
“progress-total” property “progress-total” gint64
Total number of items to be done in this task.
Owner: SnapdTask
Flags: Read / Write / Construct Only
Allowed values: >= 0
Default value: 0
“ready” property “ready” gboolean
TRUE when task complete.
Owner: SnapdTask
Flags: Read / Write / Construct Only
Default value: FALSE
“ready-time” property “ready-time” GDateTime *
Time this task completed.
Owner: SnapdTask
Flags: Read / Write / Construct Only
“spawn-time” property “spawn-time” GDateTime *
Time this task started.
Owner: SnapdTask
Flags: Read / Write / Construct Only
“status” property “status” char *
Status of task.
Owner: SnapdTask
Flags: Read / Write / Construct Only
Default value: NULL