Method
ValentChannelread_packet
unstable since: 1.0
Declaration [src]
void
valent_channel_read_packet (
ValentChannel* channel,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Read the next KDE Connect packet from channel.
Call valent_channel_read_packet_finish() to get the result.
Available since: 1.0
This method completes asynchronously. Use valent_channel_read_packet_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
cancellable-
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallback.The argument can be NULL. user_data-
Type:
gpointerUser supplied data.
The argument can be NULL.The data is owned by the caller of the method.