Function
Valentpacket_set_payload_full
unstable since: 1.0
Declaration [src]
void
valent_packet_set_payload_full (
JsonNode* packet,
JsonObject* info,
goffset size
)
Description [src]
A convenience method for setting the payloadTransferInfo and payloadSize
fields 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. size-
Type:
goffsetThe payload size in bytes.