Class

ValentChannelService

unstable since: 1.0

[]

Description [src]

abstract class Valent.ChannelService : Valent.Extension
  implements Gio.ActionGroup, Gio.ActionMap {
  /* No available fields */
}

An abstract base class for connection backends.

ValentChannelService is a base class for plugins that implement an interface to negotiate connections with other devices.

Implementation Notes

Implementations may safely invoke valent_channel_service_channel() from any thread; it is guaranteed to be emitted in the main thread.

.plugin File

Channel services have no special fields in the .plugin file.

Available since: 1.0

[]

Hierarchy

hierarchy this ValentChannelService implements_0 GActionGroup this--implements_0 implements_1 GActionMap this--implements_1 ancestor_0 ValentExtension ancestor_0--this ancestor_1 ValentResource ancestor_1--ancestor_0 ancestor_2 ValentObject ancestor_2--ancestor_1 ancestor_3 GObject ancestor_3--ancestor_2
[]

Instance methods

valent_channel_service_build_identity

Rebuild the local KDE Connect identity packet.

unstable since: 1.0

valent_channel_service_channel

Emit ValentChannelService::channel on service.

unstable since: 1.0

valent_channel_service_dup_id

Get the local ID.

unstable since: 1.0

valent_channel_service_identify

Identify the host device to the network.

unstable since: 1.0

valent_channel_service_ref_certificate

Get the TLS certificate for the service.

valent_channel_service_ref_identity

Get the local identity packet.

unstable since: 1.0

Methods inherited from ValentExtension (5)
Methods inherited from ValentResource (32)
Methods inherited from ValentObject (8)
Methods inherited from GObject (43)
Methods inherited from GActionGroup (14)
Methods inherited from GActionMap (5)
[]

Properties

Valent.ChannelService:certificate

The TLS certificate the service uses to authenticate with other devices.

Valent.ChannelService:id

The local ID.

unstable since: 1.0

Valent.ChannelService:identity

The local identity packet.

unstable since: 1.0

Properties inherited from ValentExtension (4)
Properties inherited from ValentResource (16)
Properties inherited from ValentObject (1)
[]

Signals

Valent.ChannelService::channel

Emitted when a new channel has been negotiated.

unstable since: 1.0

Signals inherited from ValentObject (1)
Signals inherited from GObject (1)
Signals inherited from GActionGroup (4)

Class structure

[]

Virtual methods

Valent.ChannelServiceClass.build_identity

Rebuild the local KDE Connect identity packet.

unstable since: 1.0

Valent.ChannelServiceClass.channel

Emit ValentChannelService::channel on service.

unstable since: 1.0

Valent.ChannelServiceClass.identify

Identify the host device to the network.

unstable since: 1.0