+ def GetHoldState(self):
+ """
+ For org.freedesktop.Telepathy.Channel.Interface.Hold
+
+ Get the current hold state
+ @returns (HoldState, Reason)
+ """
+ return (
+ telepathy.constants.LOCAL_HOLD_STATE_UNHELD,
+ telepathy.constants.LOCAL_HOLD_STATE_REASON_NONE,
+ )
+
+ @misc_utils.log_exception(_moduleLogger)
+ def RequestHold(self, Hold):
+ """
+ For org.freedesktop.Telepathy.Channel.Interface.Hold
+ """
+ if not Hold:
+ return
+ _moduleLogger.debug("Closing without cancel to get out of users way")
+ self.__calledNumer = None
+ self.close()
+
+ @misc_utils.log_exception(_moduleLogger)