Function

ValentDevicegenerate_id

unstable since: 1.0

Declaration [src]

char*
valent_device_generate_id (
  void
)

Description [src]

Generate a new KDE Connect device ID.

See valent_device_validate_id() for a description of valid device ID.

Available since: 1.0

Return value

Type: char*

A new KDE Connect device ID.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.