EMOptions+PrivateDeploy.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /*!
  2. * \~chinese
  3. * @header EMOptions+PrivateDeploy.h
  4. * @abstract SDK私有部署属性
  5. * @author Hyphenate
  6. * @version 3.0
  7. *
  8. * \~english
  9. * @header EMOptions+PrivateDeploy.h
  10. * @abstract SDK setting options of private deployment
  11. * @author Hyphenate
  12. * @version 3.0
  13. */
  14. #import "EMOptions.h"
  15. @interface EMOptions (PrivateDeploy)
  16. /*!
  17. * \~chinese
  18. * 是否允许使用DNS, 默认为YES
  19. *
  20. * 只能在[EMClient initializeSDKWithOptions:]中设置,不能在程序运行过程中动态修改。
  21. *
  22. * \~english
  23. * Whether to allow using DNS, default is YES
  24. *
  25. * Can only be set when initializing the SDK [EMClient initializeSDKWithOptions:], cannot be altered in runtime
  26. */
  27. @property (nonatomic, assign) BOOL enableDnsConfig;
  28. /*!
  29. * \~chinese
  30. * IM服务器端口
  31. *
  32. * enableDnsConfig为NO时有效。只能在[EMClient initializeSDKWithOptions:]中设置,不能在程序运行过程中动态修改
  33. *
  34. * \~english
  35. * IM server port
  36. *
  37. * chatPort is Only effective when isDNSEnabled is NO.
  38. * Can only be set when initializing the SDK with [EMClient initializeSDKWithOptions:], cannot be altered in runtime
  39. */
  40. @property (nonatomic, assign) int chatPort;
  41. /*!
  42. * \~chinese
  43. * IM服务器地址
  44. *
  45. * enableDnsConfig为NO时生效。只能在[EMClient initializeSDKWithOptions:]中设置,不能在程序运行过程中动态修改
  46. *
  47. * \~english
  48. * IM server
  49. *
  50. * chatServer is Only effective when isDNSEnabled is NO. Can only be set when initializing the SDK with [EMClient initializeSDKWithOptions:], cannot be altered in runtime
  51. */
  52. @property (nonatomic, copy) NSString *chatServer;
  53. /*!
  54. * \~chinese
  55. * REST服务器地址
  56. *
  57. * enableDnsConfig为NO时生效。只能在[EMClient initializeSDKWithOptions:]中设置,不能在程序运行过程中动态修改
  58. *
  59. * \~english
  60. * REST server
  61. *
  62. * restServer Only effective when isDNSEnabled is NO. Can only be set when initializing the SDK with [EMClient initializeSDKWithOptions:], cannot be altered in runtime
  63. */
  64. @property (nonatomic, copy) NSString *restServer;
  65. /*!
  66. * \~chinese
  67. * DNS URL 地址
  68. *
  69. * enableDnsConfig为YES时生效,只能在[EMClient initializeSDKWithOptions:]中设置,不能在程序运行过程中动态修改
  70. *
  71. * \~english
  72. * DNS url
  73. *
  74. * dnsURL Only effective when isDNSEnabled is YES. Can only be set when initializing the SDK with [EMClient initializeSDKWithOptions:], cannot be altered in runtime
  75. */
  76. @property (nonatomic, copy) NSString *dnsURL;
  77. /*!
  78. * \~chinese
  79. * 配置项扩展
  80. *
  81. * \~english
  82. * Options extension
  83. *
  84. */
  85. @property (nonatomic, strong) NSDictionary *extension;
  86. /*!
  87. * \~chinese
  88. * 多人音视频Url域名,格式为wss://mprtc.easemob.com
  89. *
  90. * enableDnsConfig为NO时生效。只能在[EMClient initializeSDKWithOptions:]中设置,不能在程序运行过程中动态修改
  91. *
  92. * \~english
  93. * the domain of conference call
  94. *
  95. */
  96. @property (nonatomic, copy) NSString *rtcUrlDomain;
  97. @end