Function

Valentpacket_get_id

unstable since: 1.0

Declaration [src]

int64_t
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: int64_t

A UNIX epoch timestamp.