org.freedesktop.UDisks2.Job

org.freedesktop.UDisks2.Job — Long-running tasks

Methods

Cancel (IN  a{sv} options);

Signals

Completed (b success,
           s message);

Properties

Progress         readable   d
StartTime        readable   t
ExpectedEndTime  readable   t
Objects          readable   ao

Description

This interface is used for long-running tasks.

Method Details

The Cancel() method

Cancel (IN  a{sv} options);

Cancels the job.

IN a{sv} options:

Options (currently unused except for standard options).

Signal Details

The "Completed" signal

Completed (b success,
           s message);

Emitted when a job completes.

b success:

If TRUE, the job completed successfully.

s message:

A message describing the completion of the job, e.g. an error message.

Property Details

The "Progress" property

Progress  readable   d

How much progress has been made. Values are in the range 0 to 1.


The "StartTime" property

StartTime  readable   t

The point in time (seconds since the Unix Epoch) that the job was started.


The "ExpectedEndTime" property

ExpectedEndTime  readable   t

The expected point in time (seconds since the Unix Epoch) that the job will complete.


The "Objects" property

Objects  readable   ao

The objects that the job is related to, if any.