Virtual Method

ValentTransferexecute

unstable since: 1.0

Declaration [src]

void
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

Parameters

cancellable

Type: GCancellable

A GCancellable

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

Type: GAsyncReadyCallback

A GAsyncReadyCallback

user_data

Type: gpointer

User supplied data.

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