4 class LocationMixin(telepathy.server.ConnectionInterfaceLocation):
7 telepathy.server.ConnectionInterfaceLocation.__init__(self)
10 def gvoice_backend(self):
14 raise NotImplementedError()
16 def GetLocations(self, contacts):
18 @returns {Contact: {Location Type: Location}}
20 raise NotImplementedError()
22 def RequestLocation(self, contact):
24 @returns {Location Type: Location}
26 raise NotImplementedError()
28 def SetLocation(self, location):
30 Since presence is based off of phone numbers, not allowing the client to change it
32 raise telepathy.errors.PermissionDenied()