Function

Valentpacket_get_payload_info

unstable since: 1.0

Declaration [src]

JsonObject*
valent_packet_get_payload_info (
  JsonNode* packet
)

Description [src]

A convenience for retrieve the ‘payloadTransferInfofield frompacket`.

Available since: 1.0

Parameters

packet

Type: JsonNode

A KDE Connect packet.

The data is owned by the caller of the function.

Return value

Type: JsonObject

A JsonObject.

The data is owned by the called function.
The return value can be NULL.