Changes

Jump to navigation Jump to search
no edit summary
Line 9: Line 9:  
  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
 
  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
 
  def ActivityDisappeared(self, activity):
 
  def ActivityDisappeared(self, activity):
 +
    pass
    
Is fired when the properties contained in org.laptop.Telepathy.ActivityProperties stop being all non-None, and when the last buddy leaves the activity.
 
Is fired when the properties contained in org.laptop.Telepathy.ActivityProperties stop being all non-None, and when the last buddy leaves the activity.
Line 17: Line 18:  
  def BuddyAppeared(self, buddy):
 
  def BuddyAppeared(self, buddy):
 
     pass
 
     pass
 +
 +
Is fired when the properties contained in org.laptop.Telepathy.BuddyInfo become all non-None. We start tracking a BuddyInfo when it appears as online in the signal PresenceUpdate of org.freedesktop.Telepathy.Connection.Interface.Presence (which is deprecated).
    
  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
 
  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
Line 26: Line 29:  
  def ActivityInvitation(self, activity, buddy, message):
 
  def ActivityInvitation(self, activity, buddy, message):
 
     pass
 
     pass
 +
 +
Gets fired when a new channel that communicates with a room becomes ready.
    
  @dbus.service.signal(PRESENCE_INTERFACE, signature="soos")
 
  @dbus.service.signal(PRESENCE_INTERFACE, signature="soos")
 
  def PrivateInvitation(self, bus_name, connection, channel, chan_type):
 
  def PrivateInvitation(self, bus_name, connection, channel, chan_type):
 
     pass
 
     pass
 +
 +
Gets fired when a new channel that communicates with a contact is created.
    
  @dbus.service.method(PRESENCE_INTERFACE, in_signature="",
 
  @dbus.service.method(PRESENCE_INTERFACE, in_signature="",
647

edits

Navigation menu