Няма описание

EMOptions+PrivateDeploy.h 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. @end