TRTCCallingModel.m 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //
  2. // TRTCCallingModel.m
  3. // TXIMSDK_TUIKit_iOS
  4. //
  5. // Created by xiangzhang on 2020/7/2.
  6. //
  7. #import "TRTCCallingModel.h"
  8. int SIGNALING_EXTRA_KEY_TIME_OUT = 30;
  9. @implementation CallModel
  10. - (id)copyWithZone:(NSZone *)zone {
  11. CallModel * model = [[CallModel alloc] init];
  12. model.version = self.version;
  13. model.calltype = self.calltype;
  14. model.groupid = self.groupid;
  15. model.callid = self.callid;
  16. model.roomid = self.roomid;
  17. model.action = self.action;
  18. model.code = self.code;
  19. model.invitedList = self.invitedList;
  20. model.inviter = self.inviter;
  21. return model;
  22. }
  23. @end
  24. @implementation TRTCCallingUserModel
  25. - (id)copyWithZone:(NSZone *)zone {
  26. TRTCCallingUserModel * model = [[TRTCCallingUserModel alloc] init];
  27. model.userId = self.userId;
  28. model.name = self.name;
  29. model.avatar = self.avatar;
  30. return model;
  31. }
  32. @end
  33. @implementation CallUserModel
  34. - (id)copyWithZone:(NSZone *)zone {
  35. CallUserModel * model = [[CallUserModel alloc] init];
  36. model.userId = self.userId;
  37. model.name = self.name;
  38. model.avatar = self.avatar;
  39. model.isEnter = self.isEnter;
  40. model.isVideoAvaliable = self.isVideoAvaliable;
  41. model.volume = self.volume;
  42. return model;
  43. }
  44. @end