Function

Valentpacket_get_id

since: 1.0

Declaration [src]

gint64
valent_packet_get_id (
  JsonNode* packet
)

Description [src]

Convenience function for getting the timestamp 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: gint64

A UNIX epoch timestamp.