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.freedesktop.Telepathy.ChannelBundle.DRAFT
org.freedesktop.Telepathy.Channel.FUTURE
org.laptop.Telepathy.BuddyInfo
org.laptop.Telepathy.ActivityProperties
org.laptop.Telepathy.Gadget
org.laptop.Telepathy.Channel.Interface.View
org.laptop.Telepathy.Channel.Type.BuddyView
org.laptop.Telepathy.Channel.Type.ActivityView
This interface is experimental and is likely to cause havoc to your API/ABI if bindings are generated. Don't include it in libraries that care about compatibility.
A group of related channels, which should all be dispatched to the same handler if possible.
Bundles currently have no functionality of their own, so clients SHOULD NOT examine this interface, but should instead treat the bundle object-path as an opaque identifier. If more functionality is added to bundles in future, this interface will be used for capability discovery.
The lifetime of a bundle is defined by its component channels - as long as one or more channels whose Bundle property is B exist, the bundle B will also exist.
Interface has no methods.
Interface has no signals.
Interface has no Telepathy properties.
Accessed using the org.freedesktop.DBus.Properties interface.
Interfaces
− as
(DBus_Interface[]), read-onlyThis interface is a staging area for future Channel functionality and is likely to cause havoc to your API/ABI if bindings are generated. Don't include it in libraries that care about compatibility.
This interface contains functionality which we intend to incorporate into the Channel interface in future. It should be considered to be conceptually part of the core Channel interface, but without API or ABI guarantees.
If we add new functionality to the Channel interface, libraries that use generated code (notably telepathy-glib) will have it as part of their ABI forever, meaning we can't make incompatible changes. By using this interface as a staging area for future Channel functionality, we can try out new properties, signals and methods as application-specific extensions, then merge them into the core Channel interface when we have enough implementation experience to declare them to be stable.
The name is by analogy to Python's __future__
pseudo-module.
Interface has no methods.
Interface has no signals.
Interface has no Telepathy properties.
Accessed using the org.freedesktop.DBus.Properties interface.
Bundle
− o
, read-onlyThe ChannelBundle to which this channel belongs.
A channel's Bundle property can never change.
Older connection managers might not have this property. Clients (particularly the channel dispatcher) SHOULD recover by considering each channel to be in a bundle containing only that channel, distinct from all other bundles, which has no additional interfaces.
Added in version 0.17.9. (in Channel.FUTURE pseudo-interface)
Implementations 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.InvalidArgument
contact
−
u
properties
−
a{sv}
org.freedesktop.Telepathy.Error.Disconnected
org.freedesktop.Telepathy.Error.InvalidArgument
activities
−
a(su)
(Activity[])org.freedesktop.Telepathy.Error.Disconnected
org.freedesktop.Telepathy.Error.InvalidArgument
contact
−
u
activities
−
a(su)
(Activity[])org.freedesktop.Telepathy.Error.Disconnected
org.freedesktop.Telepathy.Error.InvalidArgument
activity
−
s
channel
−
u
org.freedesktop.Telepathy.Error.Disconnected
org.freedesktop.Telepathy.Error.InvalidArgument
contact
−
u
activity
−
s
channel
−
u
org.freedesktop.Telepathy.Error.Disconnected
org.freedesktop.Telepathy.Error.InvalidArgument
contact
−
u
properties
−
a{sv}
contact
−
u
activities
−
a(su)
(Activity[])contact
−
u
activity
−
s
channel
−
u
Interface has no Telepathy properties.
Interface has no D-Bus core properties.
In bindings that need a separate name, arrays of Activity should be called Activity_List.
id
−
s
room
−
u
(Room_Handle)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
−
u
properties
−
a{sv}
org.freedesktop.Telepathy.Error.Disconnected
org.freedesktop.Telepathy.Error.InvalidArgument
org.freedesktop.Telepathy.Error.PermissionDenied
room
−
u
properties
−
a{sv}
org.freedesktop.Telepathy.Error.Disconnected
org.freedesktop.Telepathy.Error.InvalidArgument
room
−
u
properties
−
a{sv}
Interface has no Telepathy properties.
Interface has no D-Bus core properties.
Implementations of this interface must also implement:
org.freedesktop.Telepathy.Connection
org.laptop.Telepathy.BuddyInfo
org.laptop.Telepathy.ActivityProperties
An interface on connections to interact with the Gadget component. Buddy and activity searches are performed by requesting BuddyView and ActivityView using the Connection.Interface.Requests interface.
Publish your informations to Gadget so other users can search for you.
publish
−
b
org.freedesktop.Telepathy.Error.Disconnected
Interface has no Telepathy properties.
Accessed using the org.freedesktop.DBus.Properties interface.
GadgetAvailable
− b
, read-onlyTRUE if the Gadget component was found on this connection.
Implementations of this interface must also implement:
An interface for channels representing the result of a Gadget search.
Buddy properties changes are notified on the Connection object using the BuddyInfo interface while the view object is alive.
Activity properties changes are notified on the Connection object using the ActivityProperties interface while the view object is alive.
Activities membership is notified on the Connection object using the BuddyInfo properties while the view object is alive.
Interface has no methods.
added
−
a(su)
(Activity[])removed
−
a(su)
(Activity[])added
−
au
removed
−
au
Interface has no Telepathy properties.
Accessed using the org.freedesktop.DBus.Properties interface.
MaxSize
− u
, read-onlyThe maximum number of elements that Gadget has to return to the search request.
When requesting a channel with Connection.Interface.Requests.CreateChannel, this property MUST be included in the request.
Buddies
− au
(Contact_Handle[]), read-onlyThe buddies who are in this view channel.
It does not make sense for this property to be in channel requests.
Activities
− a(su)
(Activity[]), read-onlyThe activities which are in this view channel.
It does not make sense for this property to be in channel requests.
Implementations of this interface must also implement:
A channel used to search Buddies using Gadget.
The result of the search is available in the Buddies property of the channel. The Activities property should stay empty.
If no search criteria is defined then Gadget will return random buddies, up to the max size of the view channel.
Interface has no methods.
Interface has no signals.
Interface has no Telepathy properties.
Accessed using the org.freedesktop.DBus.Properties interface.
Properties
− a{sv}
, read-onlyIf set when requesting the channel, Gadget will search for buddies having these properties.
Alias
− s
, read-onlyIf set when requesting the channel, Gadget will search for buddies having this alias.
Implementations of this interface must also implement:
A channel used to search Activities using Gadget.
The result of the search is available in the Activities property and the participants of these activities are stored in the Buddies property of this channel.
If no search criteria is defined then Gadget will return random activities, up to the max size of the view channel.
Interface has no methods.
Interface has no signals.
Interface has no Telepathy properties.
Accessed using the org.freedesktop.DBus.Properties interface.
Properties
− a{sv}
, read-onlyIf set when requesting the channel, Gadget will search for activities having these properties.
Participants
− au
, read-onlyIf set when requesting the channel, Gadget will search for activities in which the given buddies are participating.
org.freedesktop.Telepathy.ChannelBundle.DRAFT
org.freedesktop.Telepathy.Channel.FUTURE
org.laptop.Telepathy.BuddyInfo
org.laptop.Telepathy.ActivityProperties
org.laptop.Telepathy.Gadget
org.laptop.Telepathy.Channel.Interface.View
org.laptop.Telepathy.Channel.Type.BuddyView
org.laptop.Telepathy.Channel.Type.ActivityView
Activity
− ( s, u )
Contact_Handle
− uContact_Handle
− uDBus_Interface
− sDBus_Qualified_Member
− sQualified_Property_Value_Map
− a{sv}Room_Handle
− u