Method

ValentTransferexecute

unstable since: 1.0

Declaration [src]

void
valent_transfer_execute (
  ValentTransfer* transfer,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Start the transfer operation.

Get the result with valent_transfer_execute_finish().

If the transfer operation has already started, this call will fail and valent_transfer_execute_finish() will return G_IO_ERROR_PENDING.

Available since: 1.0

This method completes asynchronously. Use valent_transfer_execute_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

cancellable

Type: GCancellable

A GCancellable.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

A GAsyncReadyCallback.

The argument can be NULL.
user_data

Type: gpointer

User supplied data.

The argument can be NULL.
The data is owned by the caller of the method.