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 call valent_extension_get_object() and then valent_device_send_packet().

Available since: 1.0

Parameters

packet

Type: JsonNode

A KDE Connect packet.

The data is owned by the caller of the method.