Virtual Method
ValentChanneldownload_async
unstable since: 1.0
Declaration [src]
void
download_async (
ValentChannel* channel,
JsonNode* packet,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Open an auxiliary connection, usually to download data.
This is a non-blocking variant of valent_channel_download(). Call
valent_channel_download_finish() to get the result.
The default implementation of this method invokes
Valent.ChannelClass.download in a thread.
Available since: 1.0
Parameters
packet-
Type:
JsonNodeA KDE Connect packet.
The data is owned by the caller of the method. cancellable-
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallback. user_data-
Type:
gpointerUser supplied data.
The argument can be NULL.The data is owned by the caller of the method.