Method
ValentDevicePluginqueue_packet
unstable since: 1.0
Declaration [src]
void
valent_device_plugin_queue_packet (
ValentDevicePlugin* plugin,
JsonNode* packet
)
Description [src]
Queue a KDE Connect packet to be sent to the device this plugin is bound to.
For notification of success, you may call valent_resource_get_source()
and then valent_device_send_packet()
, but note that there can be no
guarantee the remote device has received the packet.
Available since: 1.0
Parameters
packet
-
Type:
JsonNode
A KDE Connect packet.
The data is owned by the caller of the method.