Function

Valentpacket_get_body

unstable since: 1.0

Declaration [src]

JsonObject*
valent_packet_get_body (
  JsonNode* packet
)

Description [src]

Convenience function for getting the packet body of a KDE Connect packet.

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.