Function
Valentpacket_set_payload_info
unstable since: 1.0
Declaration [src]
void
valent_packet_set_payload_info (
JsonNode* packet,
JsonObject* info
)
Description [src]
A convenience method for setting the payloadTransferInfo field on packet.
Available since: 1.0
Parameters
packet-
Type:
JsonNodeA KDE Connect packet.
The data is owned by the caller of the function. info-
Type:
JsonObjectA
JsonObject.The called function takes ownership of the data, and is responsible for freeing it.