Namespace
Valent – 1
Connect, control and sync devices
Dependencies
GObject—2.0 | The base type system library |
Browse documentation | |
EBook—1.2 | A library for contacts and address books |
Browse documentation | |
Peas—2 | A GObject-based plugin engine |
Browse documentation |
Classes
Application |
The primary application class of Valent. since: 1.0 |
ApplicationPlugin |
An abstract base class for application plugins. since: 1.0 |
Channel |
A base class for device connections. since: 1.0 |
ChannelService |
An abstract base class for connection backends. since: 1.0 |
Clipboard |
A class for reading and writing the desktop clipboard. since: 1.0 |
ClipboardAdapter |
An abstract base class for clipboard selections. since: 1.0 |
Component |
An abstract base class for components. since: 1.0 |
Contacts |
A class for managing address books. since: 1.0 |
ContactsAdapter |
An abstract base class for address book providers. since: 1.0 |
ContactStore |
An abstract base class for address books. since: 1.0 |
Context |
A class representing a abstract data context. since: 1.0 |
Device |
A class representing a remote device, such as a smartphone or desktop. since: 1.0 |
DeviceGadget |
An abstract base class for device plugin gadgets. since: 1.0 |
DeviceManager |
A class for discovering and managing devices. since: 1.0 |
DevicePlugin |
An abstract base class for device plugins. since: 1.0 |
DevicePreferencesGroup |
An abstract base class for device plugin preferences. since: 1.0 |
DeviceTransfer |
A class for device file transfers. since: 1.0 |
Extension |
An abstract base class for extensions. since: 1.0 |
Input |
A class for controlling pointer and keyboard devices. since: 1.0 |
InputAdapter |
An abstract base class for virtual input devices. since: 1.0 |
Media |
A class for monitoring and controlling media players. since: 1.0 |
MediaAdapter |
An abstract base class for media player adapters. since: 1.0 |
MediaPlayer |
A base class for media players. since: 1.0 |
Mixer |
A class for monitoring and controlling the system volume. since: 1.0 |
MixerAdapter |
An abstract base class for audio mixers. since: 1.0 |
MixerStream |
A base class for mixer streams. since: 1.0 |
Notification |
A class representing a notification. since: 1.0 |
Notifications |
A class for sending and receiving notifications. since: 1.0 |
NotificationsAdapter |
An abstract base class for notification servers. since: 1.0 |
Object |
A base class for objects. since: 1.0 |
PreferencesPage |
An abstract base class for plugin preferences. since: 1.0 |
Session |
A class for monitoring the session state. since: 1.0 |
SessionAdapter |
An abstract base class for session managers. since: 1.0 |
Transfer |
An abstract base class for data transfers. since: 1.0 |
Enumerations
MediaRepeat |
Enumeration of loop modes. since: 1.0 |
MediaState |
Media state flags. since: 1.0 |
MixerDirection |
Enumeration of stream directions. since: 1.0 |
PluginState |
since: 1.0 |
TransferState |
Enumeration of transfer states. since: 1.0 |
Bitfields
DeviceState |
Device state flags. since: 1.0 |
MediaActions |
Media action flags. since: 1.0 |
Error Domains
PacketError |
Error enumeration for KDE Connect packet validation. since: 1.0 |
Functions
certificate_get_common_name |
Get the common name from since: 1.0 |
certificate_get_fingerprint |
Get a SHA256 fingerprint hash of since: 1.0 |
certificate_get_public_key |
Get the public key of since: 1.0 |
certificate_new |
Get a TLS certificate and private key pair. since: 1.0 |
certificate_new_finish |
Finish an operation started by since: 1.0 |
certificate_new_sync |
Get a TLS certificate and private key pair. since: 1.0 |
check_version |
Run-time version check. since: 1.0 |
debug_clear |
Shutdown logging for Valent. since: 1.0 |
debug_init |
Initializes logging for Valent. since: 1.0 |
get_main_thread |
Get the main thread. since: 1.0 |
get_major_version |
Get the major version component of the Valent library. since: 1.0 |
get_micro_version |
Get the micro version component of the Valent library. since: 1.0 |
get_minor_version |
Get the minor version component of the Valent library. since: 1.0 |
get_plugin_engine |
Get the global since: 1.0 |
get_user_directory |
Returns the full path of a special directory using its logical id. since: 1.0 |
get_user_file |
A convenience for creating a since: 1.0 |
packet_check_field |
Check since: 1.0 |
packet_deserialize |
Convenience function that deserializes a KDE Connect packet from a string
with basic validation. If since: 1.0 |
packet_dup_strv |
Lookup since: 1.0 |
packet_end |
Finish a packet created with since: 1.0 |
packet_error_quark | |
packet_from_stream |
Read a KDE Connect packet from an input stream. since: 1.0 |
packet_get_array |
Lookup since: 1.0 |
packet_get_body |
Convenience function for getting the packet body of a KDE Connect packet. since: 1.0 |
packet_get_boolean |
Lookup since: 1.0 |
packet_get_double |
Lookup since: 1.0 |
packet_get_id |
Convenience function for getting the timestamp of a KDE Connect packet. since: 1.0 |
packet_get_int |
Lookup since: 1.0 |
packet_get_object |
Lookup since: 1.0 |
packet_get_payload_full |
A convenience for retrieving the since: 1.0 |
packet_get_payload_info |
A convenience for retrieve the ‘payloadTransferInfo since: 1.0 |
packet_get_payload_size |
Get the since: 1.0 |
packet_get_string |
Lookup since: 1.0 |
packet_get_type |
Convenience function for getting the capability type of a KDE Connect packet. since: 1.0 |
packet_has_payload |
Return since: 1.0 |
packet_init |
Initialize a since: 1.0 |
packet_new |
A convenience function for creating a new KDE Connect packet with the type
field set to since: 1.0 |
packet_serialize |
Convenience function that updates the timestamp of a packet before returning a serialized string with newline ending, ready to be written to a stream. since: 1.0 |
packet_set_payload_full |
A convenience method for setting the since: 1.0 |
packet_set_payload_info |
A convenience method for setting the since: 1.0 |
packet_set_payload_size |
Set the since: 1.0 |
packet_to_stream |
A convenience function for writing a packet to a connection. since: 1.0 |
packet_validate |
Check if since: 1.0 |
string_to_markup |
Add markup to text for recognized elements. since: 1.0 |
timestamp_ms |
Get a current UNIX epoch timestamp in milliseconds. since: 1.0 |
ui_get_resource | |
ui_init |
Initialize Valent’s default user interface. since: 1.0 |
Function Macros
CHECK_VERSION |
Compile-time version check. |
GOTO |
Traces the jump to a label in a function. Use this instead of since: 1.0 |
JSON |
Logs since: 1.0 |
NOTE |
Logs a formatted message at since: 1.0 |
RETURN |
Traces the exit from a function. Use this instead of since: 1.0 |
Constants
API_VERSION |
The API version of libvalent, encoded as a string (eg. |
ENABLE_DEBUG |
Whether debugging is enabled. |
ENABLE_TRACE |
Whether tracing is enabled. |
LOG_LEVEL_TRACE |
The |
MAJOR_VERSION |
The major version component of libvalent (e.g. |
MICRO_VERSION |
The micro version component of libvalent (e.g. |
MINOR_VERSION |
The minor version component of libvalent (e.g. |
POINTER_MIDDLE |
The middle button. |
POINTER_PRIMARY |
The primary button. |
POINTER_SECONDARY |
The primary button. |
VCS_TAG | |
VERSION |
The full version of libvalent, encoded as a string (eg. |