This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
org.laptop.Telepathy.BuddyInfoorg.laptop.Telepathy.ActivityPropertiesorg.freedesktop.Telepathy.Connection.Interface.ContactCapabilities.DRAFTImplementations of this interface must also implement:
An interface on connections to associate OLPC buddy information with contacts, providing methods for the user to set their own information and retrieve information of contacts. The user is automatically notified when information of contacts that are in his 'subscribe' contact list change.
The following types and names are used to request and set information (except for activities):
Activities are represented by a struct containing:
Set the information of the local user for this connection.
This method may be called before Connect(), in which case the given properties will be advertised as soon as possible after connection (possibly immediately).
properties -
a{sv}org.freedesktop.Telepathy.Error.InvalidArgumentcontact -
uproperties -
a{sv}org.freedesktop.Telepathy.Error.Disconnectedorg.freedesktop.Telepathy.Error.InvalidArgumentactivities -
a(su)org.freedesktop.Telepathy.Error.Disconnectedorg.freedesktop.Telepathy.Error.InvalidArgumentid -
shandle -
uorg.freedesktop.Telepathy.Error.Disconnectedorg.freedesktop.Telepathy.Error.InvalidArgumentcontact -
uactivities -
a(su)org.freedesktop.Telepathy.Error.Disconnectedorg.freedesktop.Telepathy.Error.InvalidArgumentactivity -
schannel -
uorg.freedesktop.Telepathy.Error.Disconnectedorg.freedesktop.Telepathy.Error.InvalidArgumentcontact -
uactivity -
schannel -
uorg.freedesktop.Telepathy.Error.Disconnectedorg.freedesktop.Telepathy.Error.InvalidArgumentcontact -
uproperties -
a{sv}contact -
uactivities -
a(su)contact -
uactivity -
schannel -
uInterface has no Telepathy properties.
Interface has no D-Bus core properties.
Implementations of this interface must also implement:
An interface on connections to associate OLPC activity properties with rooms.
The following types and names are used to request and set properties:
room -
uproperties -
a{sv}org.freedesktop.Telepathy.Error.Disconnectedorg.freedesktop.Telepathy.Error.InvalidArgumentorg.freedesktop.Telepathy.Error.PermissionDeniedroom -
uproperties -
a{sv}org.freedesktop.Telepathy.Error.Disconnectedorg.freedesktop.Telepathy.Error.InvalidArgumentactivity_id -
sroom -
uorg.freedesktop.Telepathy.Error.Disconnectedorg.freedesktop.Telepathy.Error.InvalidArgumentroom -
uproperties -
a{sv}Interface has no Telepathy properties.
Interface has no D-Bus core properties.
Implementations of this interface must also implement:
Contact capabilities describe the channel classes which may be created with a given contact in advance of attempting to create a channel. Each capability represents a commitment by the connection manager that it will ordinarily be able to create a channel with a contact when given a request with the properties defined by the channel class.
Capabilities pertain to particular contact handles, and represent activities such as having a text chat, a voice call with the user or a stream tube of a defined type.
This interface also enables user interfaces to notify the connection manager what capabilities to advertise for the user to other contacts. This is done by using the SetSelfCapabilities method, and deals with channel property values pertaining to them which are implemented by available client processes.
Used by user interfaces to indicate which channel classes they are able to handle on this connection. It replaces the previous advertised channel classes by the set given as parameter.
If a channel class is unknown by the connection manager, it is just ignored. No error are returned in this case, and other known channel class are added.
Upon a successful invocation of this method, the ContactCapabilitiesChanged signal will only be emitted for the user's own handle (as returned by GetSelfHandle) by the connection manager if, in the given protocol, the given capabilities are distinct from the previous state.
The connection manager will essentially intersect the provided capabilities and the channel classes it implements. Therefore, certain properties which are never fixed for a channel class (such as the target handle, or the Parameters property of a tube channel) will almost certainly not be advertised.
caps -
aa{sv}
(String_Variant_Map[])
org.freedesktop.Telepathy.Error.NetworkErrororg.freedesktop.Telepathy.Error.Disconnectedhandles -
au
(Contact_Handle[])
An array of contact handles for this connection.
The handle zero MUST NOT be included in the request.
a{ua(a{sv}as)}
(Contact_Capabilities_Map)
org.freedesktop.Telepathy.Error.Disconnectedorg.freedesktop.Telepathy.Error.InvalidHandleAnnounce that there has been a change of capabilities on the given handles. A single signal can be emitted for several contacts.
The underlying protocol can get several contacts' capabilities at the same time.
caps -
a{ua(a{sv}as)}
(Contact_Capabilities_Map)
Interface has no Telepathy properties.
Interface has no D-Bus core properties.
In bindings that need a separate name, arrays of Contact_Capabilities_Map should be called Contact_Capabilities_Map_List.
Key -
u
(Contact_Handle)
Value -
a(a{sv}as)
(Requestable_Channel_Class[])
org.laptop.Telepathy.BuddyInfoorg.laptop.Telepathy.ActivityPropertiesorg.freedesktop.Telepathy.Connection.Interface.ContactCapabilities.DRAFTChannel_Class
- a{sv}Contact_Capabilities_Map
- a{ u → a(a{sv}as) }
Contact_Handle
- uDBus_Error_Name
- sDBus_Interface
- sDBus_Qualified_Member
- sDBus_Tube_Member
- (us)DBus_Unique_Name
- sQualified_Property_Value_Map
- a{sv}Requestable_Channel_Class
- a(a{sv}as)Socket_Access_Control
- uSocket_Address_Type
- uString_Variant_Map
- a{sv}Supported_Socket_Map
- a{uau}Unix_Timestamp64
- tUnix_Timestamp64
- t