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 () |
gchar * | id | Read / Write / Construct Only |
gchar * | kind | Read / Write / Construct Only |
gint64 | progress-done | Read / Write / Construct Only |
gchar * | 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 |
gchar * | status | Read / Write / Construct Only |
gchar * | 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
“kind”
property“kind” gchar *
Kind of task.
Flags: Read / Write / Construct Only
Default value: NULL
“progress-done”
property“progress-done” gint64
Number of items done in this task.
Flags: Read / Write / Construct Only
Allowed values: >= 0
Default value: 0
“progress-label”
property“progress-label” gchar *
Label for progress.
Flags: Read / Write / Construct Only
Default value: NULL
“progress-total”
property“progress-total” gint64
Total number of items to be done in this task.
Flags: Read / Write / Construct Only
Allowed values: >= 0
Default value: 0
“ready”
property“ready” gboolean
TRUE when task complete.
Flags: Read / Write / Construct Only
Default value: FALSE
“ready-time”
property“ready-time” GDateTime *
Time this task completed.
Flags: Read / Write / Construct Only
“spawn-time”
property“spawn-time” GDateTime *
Time this task started.
Flags: Read / Write / Construct Only
“status”
property“status” gchar *
Status of task.
Flags: Read / Write / Construct Only
Default value: NULL
“summary”
property“summary” gchar *
Summary of task.
Flags: Read / Write / Construct Only
Default value: NULL