- public delegate void AccountChannelRequestDelegatedChannelCb (AccountChannelRequest request, Channel channel)
Called when a client asked us to delegate channel
to
another Handler.
- public delegate void BaseClientClassAddDispatchOperationImpl (BaseClient client, Account account, Connection connection, List<Channel> channels, ChannelDispatchOperation dispatch_operation, AddDispatchOperationContext context)
Signature of the implementation of the AddDispatchOperation method.
- public delegate void BaseClientClassHandleChannelsImpl (BaseClient client, Account account, Connection connection, List<Channel> channels, List<ChannelRequest> requests_satisfied, int64 user_action_time, HandleChannelsContext context)
Signature of the implementation of the HandleChannels method.
- public delegate void BaseClientClassObserveChannelsImpl (BaseClient client, Account account, Connection connection, List<Channel> channels, ChannelDispatchOperation? dispatch_operation, List<ChannelRequest> requests, ObserveChannelsContext context)
Signature of the implementation of the ObserveChannels method.
- public delegate void BaseClientDelegatedChannelsCb (BaseClient client, GenericArray<Channel> channels)
Called when a client asked us to delegate channels
to
another Handler.
- public delegate string BaseConnectionGetUniqueConnectionNameImpl (BaseConnection self)
Signature of the get_unique_connection_name
virtual
method on BaseConnection.
- public delegate void BaseConnectionProc (BaseConnection self)
Signature of a virtual method on
BaseConnection that takes no additional parameters and returns
nothing.
- public delegate bool BaseConnectionStartConnectingImpl (BaseConnection self) throws Error
Signature of an implementation of the start_connecting method of
BaseConnection.
- public delegate void ChannelWhenReadyCb (Channel channel, Error error)
Signature of a callback passed to tp_channel_call_when_ready
, which will be called exactly once, when the channel becomes ready or invalid (whichever happens first)
- public delegate void ConnectionContactsByHandleCb (Connection connection, Contact[] contacts, Handle[] failed, Error error, Object weak_object)
- public delegate void ConnectionContactsByIdCb (Connection connection, Contact[] contacts, string[] requested_ids, HashTable<string,Error> failed_id_errors, Error error, Object weak_object)
- public delegate void ConnectionHoldHandlesCb (Connection connection, HandleType handle_type, uint n_handles, Handle handles, Error error, Object weak_object)
Signature of the callback called when
hold_handles succeeds or fails.
- public delegate void ConnectionManagerListCb (ConnectionManager[] cms, size_t n_cms, Error error, Object weak_object)
- public delegate void ConnectionManagerWhenReadyCb (ConnectionManager cm, Error error, Object weak_object)
Called as the result of tp_connection_manager_call_when_ready
.
- public delegate void ConnectionNameListCb (string[] names, size_t n, string[] cms, string[] protocols, Error error, Object weak_object)
- public delegate void ConnectionRequestHandlesCb (Connection connection, HandleType handle_type, uint[] handles, string[] ids, Error error, Object weak_object)
- public delegate void ConnectionUpgradeContactsCb (Connection connection, Contact[] contacts, Error error, Object weak_object)
- public delegate void ConnectionWhenReadyCb (Connection connection, Error error)
Signature of a callback passed to tp_connection_call_when_ready
, which will be called exactly once, when the connection becomes ready or invalid (whichever happens first)
- public delegate void DBusDaemonListNamesCb (DBusDaemon bus_daemon, string names, Error error, Object weak_object)
Signature of a callback for functions that list bus names.
- public delegate void DBusDaemonNameOwnerChangedCb (DBusDaemon bus_daemon, string name, string new_owner)
- public delegate void DBusPropertiesMixinGetter (Object object, Quark iface, Quark name, Value value, void* getter_data)
Signature of a callback used to get the value of a property.
- public delegate bool DBusPropertiesMixinSetter (Object object, Quark iface, Quark name, Value value, void* setter_data) throws Error
Signature of a callback used to get the value of a property.
- public delegate bool GroupMixinAddMemberFunc (Object obj, Handle handle, string message) throws Error
Signature of the callback used to add a member to the group.
- public delegate bool GroupMixinRemMemberFunc (Object obj, Handle handle, string message) throws Error
Signature of the callback used to remove a member from the group.
- public delegate bool GroupMixinRemMemberWithReasonFunc (Object obj, Handle handle, string message, uint reason) throws Error
Signature of the callback used to remove a member from the group.
- public delegate void IntFunc (uint i, void* userdata)
A callback function acting on unsigned integers.
- public delegate uint PresenceMixinGetMaximumStatusMessageLengthFunc (Object obj)
Signature of a callback used to determine the maximum length of status
messages.
- public delegate bool PresenceMixinSetOwnStatusFunc (Object obj, PresenceStatus status) throws Error
Signature of the callback used to commit changes to the user's own
presence status in SetStatuses.
- public delegate bool PresenceMixinStatusAvailableFunc (Object obj, uint which)
Signature of a callback to be used to determine if a given presence
status can be set on the connection.
- public delegate void ProxyPrepareAsync (Proxy proxy, ProxyFeature feature, AsyncReadyCallback? callback)
Function called when feature
has to be prepared for
proxy
.
- public delegate void SimpleApproverAddDispatchOperationImpl (SimpleApprover approver, Account account, Connection connection, List<Channel> channels, ChannelDispatchOperation? dispatch_operation, AddDispatchOperationContext context)
Signature of the implementation of the AddDispatchOperation method.
- public delegate void SimpleHandlerHandleChannelsImpl (SimpleHandler handler, Account account, Connection connection, List<Channel> channels, List<ChannelRequest> requests_satisfied, int64 user_action_time, HandleChannelsContext context)
Signature of the implementation of the HandleChannels method.
- public delegate void SimpleObserverObserveChannelsImpl (SimpleObserver observer, Account account, Connection connection, List<Channel> channels, ChannelDispatchOperation? dispatch_operation, List<ChannelRequest> requests, ObserveChannelsContext context)
Signature of the implementation of the ObserveChannels method.
- public bool asv_get_boolean (HashTable<string,Value?> asv, string key, out bool valid)
If a value for key
in asv
is present and
boolean, return it, and set *valid
to true
if valid
is not null
.
- public void* asv_get_boxed (HashTable<string,Value?> asv, string key, Type type)
If a value for key
in asv
is present and is
of the desired type, return it.
- public unowned Array<uint8>? asv_get_bytes (HashTable<string,Value?> asv, string key)
If a value for key
in asv
is present and is
an array of bytes (its GType is DBUS_TYPE_G_UCHAR_ARRAY
), return it.
- public double asv_get_double (HashTable<string,Value?> asv, string key, out bool valid)
If a value for key
in asv
is present and has
any numeric type used by dbus-glib (guchar, gint, guint, gint64, guint64 or gdouble), return it as a double, and if valid
is not null
, set *valid
to true
.
- public int32 asv_get_int32 (HashTable<string,Value?> asv, string key, out bool valid)
If a value for key
in asv
is present, has an
integer type used by dbus-glib (guchar, gint, guint, gint64 or guint64) and fits in the range of a gint32, return it, and if
valid
is not null
, set *valid
to true
.
- public int64 asv_get_int64 (HashTable<string,Value?> asv, string key, out bool valid)
If a value for key
in asv
is present, has an
integer type used by dbus-glib (guchar, gint, guint, gint64 or guint64) and fits in the range of a gint64, return it, and if
valid
is not null
, set *valid
to true
.
- public unowned string? asv_get_object_path (HashTable<string,Value?> asv, string key)
If a value for key
in asv
is present and is
an object path, return it.
- public unowned string? asv_get_string (HashTable<string,Value?> asv, string key)
If a value for key
in asv
is present and is
a string, return it.
- public unowned string[]? asv_get_strv (HashTable<string,Value?> asv, string key)
If a value for key
in asv
is present and is
an array of strings (strv), return it.
- public uint32 asv_get_uint32 (HashTable<string,Value?> asv, string key, out bool valid)
If a value for key
in asv
is present, has an
integer type used by dbus-glib (guchar, gint, guint, gint64 or guint64) and fits in the range of a guint32, return it, and if
valid
is not null
, set *valid
to true
.
- public uint64 asv_get_uint64 (HashTable<string,Value?> asv, string key, out bool valid)
If a value for key
in asv
is present, has an
integer type used by dbus-glib (guchar, gint, guint, gint64 or guint64) and is non-negative, return it, and if valid
is
not null
, set *valid
to true
.
- public bool dbus_check_valid_bus_name (string name, DBusNameType allow_types) throws Error
Check that the given string is a valid D-Bus bus name of an
appropriate type.
- public bool dbus_check_valid_interface_name (string name) throws Error
Check that the given string is a valid D-Bus interface name.
- public bool dbus_check_valid_member_name (string name) throws Error
Check that the given string is a valid D-Bus member (method or signal)
name.
- public bool dbus_check_valid_object_path (string path) throws Error
Check that the given string is a valid D-Bus object path.
- public Quark dbus_errors_quark ()
- public void dbus_properties_mixin_class_init (ObjectClass cls, size_t offset)
- public HashTable<unowned string,unowned Value?> dbus_properties_mixin_dup_all (Object self, string interface_name)
Get all the properties of a particular interface.
- public void dbus_properties_mixin_emit_properties_changed (Object object, string interface_name, string? properties)
Emits the PropertiesChanged signal for the provided properties.
- public bool dbus_properties_mixin_get (Object self, string interface_name, string property_name, Value value) throws Error
Initialize value
with the type of the property
property_name
on interface_name
, and write the value of that property into it as if by calling the D-Bus method
org.
- public void dbus_properties_mixin_getter_gobject_properties (Object object, Quark iface, Quark name, Value value, void* getter_data)
An implementation of
DBusPropertiesMixinGetter which assumes that the
getter_data
is the name of a readable Object property of an appropriate type, and uses it for the
value of the D-Bus property.
- public void dbus_properties_mixin_iface_init (void* g_iface, void* iface_data)
Declare that the DBus.
- public bool dbus_properties_mixin_set (Object self, string interface_name, string property_name, Value value) throws Error
Sets a property to the value specified by value
, as if by
calling the D-Bus method org.
- public bool dbus_properties_mixin_setter_gobject_properties (Object object, Quark iface, Quark name, Value value, void* setter_data) throws Error
An implementation of
DBusPropertiesMixinSetter which assumes that the
setter_data
is the name of a writable Object property of an appropriate type, and sets that
property to the given value.
- public void debug_divert_messages (string filename)
Open the given file for writing and duplicate its file descriptor to
be used for stdout and stderr.
- public void debug_set_flags (string flags_string)
Set the debug flags indicated by flags_string
, in
addition to any already set.
- public void debug_set_persistent (bool persistent)
Used to enable persistent operation of the connection manager process
for debugging purposes.
- public void debug_timestamped_log_handler (string log_domain, LogLevelFlags log_level, string message, void* ignored)
A LogFunc that prepends the UTC time
(currently in ISO 8601 format, with microsecond resolution) to the message, then calls g_log_default_handler.
- public Quark errors_disconnected_quark ()
- public Quark errors_removed_from_group_quark ()
- public string escape_as_identifier (string name)
Escape an arbitrary string so it follows the rules for a C identifier,
and hence an object path component, interface element component, bus name component or member name in D-Bus.
- public Quark iface_quark_account ()
- public Quark iface_quark_account_interface_addressing ()
- public Quark iface_quark_account_interface_avatar ()
- public Quark iface_quark_account_interface_storage ()
- public Quark iface_quark_account_manager ()
- public Quark iface_quark_authentication_tls_certificate ()
- public Quark iface_quark_call_content ()
- public Quark iface_quark_call_content_interface_audio_control ()
- public Quark iface_quark_call_content_interface_dtmf ()
- public Quark iface_quark_call_content_interface_media ()
- public Quark iface_quark_call_content_interface_video_control ()
- public Quark iface_quark_call_content_media_description ()
- public Quark iface_quark_call_content_media_description_interface_rtcp_extended_reports ()
- public Quark iface_quark_call_content_media_description_interface_rtcp_feedback ()
- public Quark iface_quark_call_content_media_description_interface_rtp_header_extensions ()
- public Quark iface_quark_call_stream ()
- public Quark iface_quark_call_stream_endpoint ()
- public Quark iface_quark_call_stream_interface_media ()
- public Quark iface_quark_channel ()
- public Quark iface_quark_channel_dispatch_operation ()
- public Quark iface_quark_channel_dispatcher ()
- public Quark iface_quark_channel_dispatcher_interface_messages1 ()
- public Quark iface_quark_channel_dispatcher_interface_operation_list ()
- public Quark iface_quark_channel_interface_anonymity ()
- public Quark iface_quark_channel_interface_call_state ()
- public Quark iface_quark_channel_interface_captcha_authentication ()
- public Quark iface_quark_channel_interface_chat_state ()
- public Quark iface_quark_channel_interface_conference ()
- public Quark iface_quark_channel_interface_destroyable ()
- public Quark iface_quark_channel_interface_dtmf ()
- public Quark iface_quark_channel_interface_file_transfer_metadata ()
- public Quark iface_quark_channel_interface_group ()
- public Quark iface_quark_channel_interface_hold ()
- public Quark iface_quark_channel_interface_media_signalling ()
- public Quark iface_quark_channel_interface_messages ()
- public Quark iface_quark_channel_interface_password ()
- public Quark iface_quark_channel_interface_room ()
- public Quark iface_quark_channel_interface_room_config ()
- public Quark iface_quark_channel_interface_sasl_authentication ()
- public Quark iface_quark_channel_interface_securable ()
- public Quark iface_quark_channel_interface_service_point ()
- public Quark iface_quark_channel_interface_sms ()
- public Quark iface_quark_channel_interface_subject ()
- public Quark iface_quark_channel_interface_tube ()
- public Quark iface_quark_channel_request ()
- public Quark iface_quark_channel_type_call ()
- public Quark iface_quark_channel_type_contact_list ()
- public Quark iface_quark_channel_type_contact_search ()
- public Quark iface_quark_channel_type_dbus_tube ()
- public Quark iface_quark_channel_type_file_transfer ()
- public Quark iface_quark_channel_type_room_list ()
- public Quark iface_quark_channel_type_server_authentication ()
- public Quark iface_quark_channel_type_server_tls_connection ()
- public Quark iface_quark_channel_type_stream_tube ()
- public Quark iface_quark_channel_type_streamed_media ()
- public Quark iface_quark_channel_type_text ()
- public Quark iface_quark_channel_type_tubes ()
- public Quark iface_quark_client ()
- public Quark iface_quark_client_approver ()
- public Quark iface_quark_client_handler ()
- public Quark iface_quark_client_interface_requests ()
- public Quark iface_quark_client_observer ()
- public Quark iface_quark_connection ()
- public Quark iface_quark_connection_interface_addressing ()
- public Quark iface_quark_connection_interface_aliasing ()
- public Quark iface_quark_connection_interface_anonymity ()
- public Quark iface_quark_connection_interface_avatars ()
- public Quark iface_quark_connection_interface_balance ()
- public Quark iface_quark_connection_interface_capabilities ()
- public Quark iface_quark_connection_interface_cellular ()
- public Quark iface_quark_connection_interface_client_types ()
- public Quark iface_quark_connection_interface_contact_blocking ()
- public Quark iface_quark_connection_interface_contact_capabilities ()
- public Quark iface_quark_connection_interface_contact_groups ()
- public Quark iface_quark_connection_interface_contact_info ()
- public Quark iface_quark_connection_interface_contact_list ()
- public Quark iface_quark_connection_interface_contacts ()
- public Quark iface_quark_connection_interface_location ()
- public Quark iface_quark_connection_interface_mail_notification ()
- public Quark iface_quark_connection_interface_power_saving ()
- public Quark iface_quark_connection_interface_presence ()
- public Quark iface_quark_connection_interface_renaming ()
- public Quark iface_quark_connection_interface_requests ()
- public Quark iface_quark_connection_interface_service_point ()
- public Quark iface_quark_connection_interface_sidecars1 ()
- public Quark iface_quark_connection_interface_simple_presence ()
- public Quark iface_quark_connection_manager ()
- public Quark iface_quark_dbus_daemon ()
- public Quark iface_quark_dbus_introspectable ()
- public Quark iface_quark_dbus_peer ()
- public Quark iface_quark_dbus_properties ()
- public Quark iface_quark_debug ()
- public Quark iface_quark_media_session_handler ()
- public Quark iface_quark_media_stream_handler ()
- public Quark iface_quark_properties_interface ()
- public Quark iface_quark_protocol ()
- public Quark iface_quark_protocol_interface_addressing ()
- public Quark iface_quark_protocol_interface_avatars ()
- public Quark iface_quark_protocol_interface_presence ()
- public Intset intset_from_array (Array<uint> array)
- public void list_connection_managers (DBusDaemon bus_daemon, owned ConnectionManagerListCb callback, Object? weak_object)
List the available (running or installed) connection managers.
- public async List<ConnectionManager> list_connection_managers_async (DBusDaemon? dbus_daemon) throws Error
List the available (running or installed) connection managers,
asynchronously, and wait for their TP_CONNECTION_MANAGER_FEATURE_CORE
feature to be ready.
- public void list_connection_names (DBusDaemon bus_daemon, owned ConnectionNameListCb callback, Object? weak_object)
List the bus names of all the connections that currently exist,
together with the connection manager name and the protocol name for each connection.
- public async void simple_async_report_success_in_idle (Object? source, void* source_tag)
Create a new SimpleAsyncResult with no
operation result, and call complete_in_idle on it.
- public void svc_interface_set_dbus_properties_info (Type g_interface, DBusPropertiesMixinIfaceInfo info)
Declare that g_interface
implements the given D-Bus
interface, with the given properties.
- public int64 user_action_time_from_x11 (uint32 x11_time)
Convert an X11 timestamp into a user action time as used in Telepathy.
- public bool user_action_time_should_present (int64 user_action_time, out uint32 x11_time)
Interpret a Telepathy user action time to decide whether a Handler
should attempt to gain focus.
- public string utf8_make_valid (string name)
Validate that the provided string is valid UTF8.
- public void value_array_free (ValueArray va)
Free va
.