@tencentcloud/sdk-mcp 1.3.9 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (514) hide show
  1. package/index.js +1 -1
  2. package/index.js.map +1 -1
  3. package/package.json +2 -2
  4. package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/android-faq.md} +75 -308
  5. package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +2 -2
  6. package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/flutter-faq.md} +83 -315
  7. package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/ios-faq.md} +76 -313
  8. package/resource/doc/{tuicallkit/vue/faq.md → callkit/faq/web-faq.md} +78 -311
  9. package/resource/doc/callkit/preset/android/api.md +330 -0
  10. package/resource/doc/{tuicallkit → callkit/preset}/android/integration.md +63 -420
  11. package/resource/doc/callkit/preset/flutter/api.md +401 -0
  12. package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +53 -273
  13. package/resource/doc/callkit/preset/ios/api.md +282 -0
  14. package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +39 -120
  15. package/resource/doc/callkit/preset/react/api.md +600 -0
  16. package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +6 -6
  17. package/resource/doc/callkit/preset/vue/api.md +600 -0
  18. package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +5 -5
  19. package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -37
  20. package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
  21. package/resource/doc/{chatuikit → chatkit}/android/integration.md +30 -126
  22. package/resource/doc/chatkit/faq/android_sdk/client-api.md +280 -0
  23. package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +4 -17
  24. package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -2
  25. package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +183 -0
  26. package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
  27. package/resource/doc/chatkit/faq/ios_sdk/client-api.md +279 -0
  28. package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +1 -1
  29. package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +4 -4
  30. package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
  31. package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +20 -95
  32. package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -37
  33. package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
  34. package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +78 -280
  35. package/resource/doc/{chatuikit/vue → chatkit/react}/components/avatar.md +0 -1
  36. package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +7 -12
  37. package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +10 -17
  38. package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +1 -1
  39. package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -1
  40. package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +122 -703
  41. package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
  42. package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
  43. package/resource/doc/chatkit/react/components/conversation-preview.md +116 -0
  44. package/resource/doc/chatkit/react/components/conversation-search.md +57 -0
  45. package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -186
  46. package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +21 -113
  47. package/resource/doc/chatkit/react/components/search.md +282 -0
  48. package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +5 -26
  49. package/resource/doc/{chatuikit → chatkit}/react/integration.md +37 -104
  50. package/resource/doc/{chatuikit/react → chatkit/vue}/components/avatar.md +0 -1
  51. package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -13
  52. package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +13 -18
  53. package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +1 -2
  54. package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -1
  55. package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
  56. package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
  57. package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -316
  58. package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
  59. package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
  60. package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +1 -23
  61. package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -134
  62. package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
  63. package/resource/doc/chatkit/vue/components/tuikit.md +45 -0
  64. package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +4 -4
  65. package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
  66. package/resource/doc/{chatuikit → chatkit}/vue/integration.md +53 -121
  67. package/resource/doc/livekit/core-sdk/live/android/api-reference/AudioEffectStore.md +283 -0
  68. package/resource/doc/livekit/core-sdk/live/android/api-reference/BarrageStore.md +148 -0
  69. package/resource/doc/livekit/core-sdk/live/android/api-reference/BattleStore.md +316 -0
  70. package/resource/doc/livekit/core-sdk/live/android/api-reference/CameraView.md +57 -0
  71. package/resource/doc/livekit/core-sdk/live/android/api-reference/CoGuestStore.md +419 -0
  72. package/resource/doc/livekit/core-sdk/live/android/api-reference/CoHostStore.md +325 -0
  73. package/resource/doc/livekit/core-sdk/live/android/api-reference/DeviceStore.md +436 -0
  74. package/resource/doc/livekit/core-sdk/live/android/api-reference/GiftStore.md +165 -0
  75. package/resource/doc/livekit/core-sdk/live/android/api-reference/LikeStore.md +49 -0
  76. package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveAudienceStore.md +239 -0
  77. package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveCoreView.md +74 -0
  78. package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveSeatStore.md +417 -0
  79. package/resource/doc/livekit/core-sdk/live/android/api-reference/LoginStore.md +207 -0
  80. package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +17 -88
  81. package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
  82. package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +26 -139
  83. package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +16 -99
  84. package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +54 -161
  85. package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
  86. package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +91 -338
  87. package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +108 -492
  88. package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +27 -165
  89. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/AudioEffectStore.md +279 -0
  90. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BarrageStore.md +158 -0
  91. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BaseBeautyStore.md +155 -0
  92. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BattleStore.md +304 -0
  93. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoGuestStore.md +394 -0
  94. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoHostStore.md +303 -0
  95. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/DeviceStore.md +410 -0
  96. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/GiftStore.md +160 -0
  97. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LikeStore.md +51 -0
  98. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveAudienceStore.md +231 -0
  99. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveCoreView.md +143 -0
  100. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveSeatStore.md +375 -0
  101. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LoginStore.md +170 -0
  102. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +13 -91
  103. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -177
  104. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +18 -102
  105. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -164
  106. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -161
  107. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +66 -460
  108. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
  109. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-integration.md +160 -543
  110. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +22 -161
  111. package/resource/doc/livekit/core-sdk/live/ios/api-reference/AudioEffectStore.md +287 -0
  112. package/resource/doc/livekit/core-sdk/live/ios/api-reference/BarrageStore.md +165 -0
  113. package/resource/doc/livekit/core-sdk/live/ios/api-reference/BaseBeautyStore.md +143 -0
  114. package/resource/doc/livekit/core-sdk/live/ios/api-reference/BattleStore.md +298 -0
  115. package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoGuestStore.md +349 -0
  116. package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoHostStore.md +297 -0
  117. package/resource/doc/livekit/core-sdk/live/ios/api-reference/DeviceStore.md +471 -0
  118. package/resource/doc/livekit/core-sdk/live/ios/api-reference/GiftStore.md +179 -0
  119. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LikeStore.md +49 -0
  120. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveAudienceStore.md +238 -0
  121. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveCoreView.md +74 -0
  122. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveSeatStore.md +412 -0
  123. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LoginStore.md +173 -0
  124. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +23 -96
  125. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +33 -195
  126. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +35 -150
  127. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +20 -105
  128. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +35 -140
  129. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +77 -457
  130. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +70 -317
  131. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +90 -473
  132. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +28 -163
  133. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audience-list.md +17 -88
  134. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audio-effect.md +34 -192
  135. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-barrage.md +26 -139
  136. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-co-guest-interaction.md +53 -262
  137. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-gift.md +75 -455
  138. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-host-interaction.md +60 -272
  139. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-integration.md +63 -440
  140. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-room-list.md +23 -151
  141. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-audience-list.md +13 -91
  142. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-audio-effect.md +34 -177
  143. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-barrage.md +18 -102
  144. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-co-guest-interaction.md +44 -201
  145. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-gift.md +66 -460
  146. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-integration.md +57 -419
  147. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-room-list.md +24 -157
  148. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audience-list.md +23 -96
  149. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audio-effect.md +33 -195
  150. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-barrage.md +35 -150
  151. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-co-guest-interaction.md +45 -254
  152. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-gift.md +77 -457
  153. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-host-interaction.md +52 -261
  154. package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +478 -0
  155. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-room-list.md +36 -167
  156. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-audience-list.md +15 -45
  157. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-audio-effect.md +23 -137
  158. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-barrage.md +25 -131
  159. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-co-guest-interaction.md +70 -366
  160. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-gift.md +70 -424
  161. package/resource/doc/livekit/core-sdk/voice/uni-app/voice-integration.md +323 -0
  162. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-room-list.md +24 -116
  163. package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -3
  164. package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
  165. package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
  166. package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +9 -48
  167. package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +27 -145
  168. package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +13 -76
  169. package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +33 -224
  170. package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +211 -0
  171. package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
  172. package/resource/doc/livekit/preset/live/vue/live-list-integration.md +244 -0
  173. package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +301 -0
  174. package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +307 -0
  175. package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +754 -0
  176. package/resource/doc/roomkit/android/features/call-user-to-room.md +234 -0
  177. package/resource/doc/roomkit/android/features/room-participant-state.md +850 -0
  178. package/resource/doc/roomkit/android/features/room-state.md +358 -0
  179. package/resource/doc/roomkit/android/features/schedule-room.md +336 -0
  180. package/resource/doc/roomkit/android/integration.md +433 -0
  181. package/resource/doc/roomkit/{common/error_code.md → faq/common/error-code.md} +1 -1
  182. package/resource/doc/roomkit/flutter/features/call-user-to-room.md +228 -0
  183. package/resource/doc/roomkit/flutter/features/room-participant-state.md +796 -0
  184. package/resource/doc/roomkit/flutter/features/room-state.md +324 -0
  185. package/resource/doc/roomkit/flutter/features/schedule-room.md +324 -0
  186. package/resource/doc/roomkit/flutter/integration.md +405 -0
  187. package/resource/doc/roomkit/ios/features/call-user-to-room.md +226 -0
  188. package/resource/doc/roomkit/ios/features/room-participant-state.md +821 -0
  189. package/resource/doc/roomkit/ios/features/room-state.md +320 -0
  190. package/resource/doc/roomkit/ios/features/schedule-room.md +318 -0
  191. package/resource/doc/roomkit/ios/integration.md +384 -0
  192. package/resource/doc/roomkit/vue/faq.md +1 -0
  193. package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
  194. package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
  195. package/resource/doc/roomkit/vue/features/device-state.md +24 -44
  196. package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
  197. package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
  198. package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
  199. package/resource/doc/roomkit/vue/features/room-state.md +25 -36
  200. package/resource/doc/roomkit/vue/features/room-view.md +30 -127
  201. package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
  202. package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
  203. package/resource/doc/roomkit/vue/features/virtual-background.md +13 -34
  204. package/resource/doc/roomkit/vue/integration.md +21 -80
  205. package/resource/doc/rtcengine/faq/common/userSig.md +17 -141
  206. package/resource/doc/rtcengine/faq/web/web.md +15 -22
  207. package/resource/doc/rtcengine/web/api.md +17 -21
  208. package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +4 -10
  209. package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +4 -8
  210. package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +3 -3
  211. package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -3
  212. package/resource/doc/rtcengine/web/plugin/22-advanced-audio-mixer.md +6 -6
  213. package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +2 -2
  214. package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +2 -4
  215. package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +1 -2
  216. package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +2 -6
  217. package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +13 -14
  218. package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +10 -90
  219. package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -8
  220. package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +31 -35
  221. package/resource/doc/rtcengine/web/plugin/35-advanced-ai-denoiser.md +0 -2
  222. package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +7 -49
  223. package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -1
  224. package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -3
  225. package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +20 -20
  226. package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
  227. package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -4
  228. package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
  229. package/resource/doc/trtc/C++/ITRTCCloud.md +718 -2847
  230. package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
  231. package/resource/doc/trtc/C++/ITXAudioEffectManager.md +207 -1041
  232. package/resource/doc/trtc/C++/ITXDeviceManager.md +127 -768
  233. package/resource/doc/trtc/C++/TRTCCloudCallback.md +634 -2259
  234. package/resource/doc/trtc/C++/TRTCTypeDef.md +726 -3465
  235. package/resource/doc/trtc/C++/TXLiteAVCode.md +117 -916
  236. package/resource/doc/trtc/android/TRTCCloud.md +638 -2612
  237. package/resource/doc/trtc/android/TRTCCloudDef.md +769 -3697
  238. package/resource/doc/trtc/android/TRTCCloudListener.md +609 -2070
  239. package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
  240. package/resource/doc/trtc/android/TXAudioEffectManager.md +207 -1049
  241. package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
  242. package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
  243. package/resource/doc/trtc/android/TXLiteAVCode.md +115 -900
  244. package/resource/doc/trtc/iOS/TRTCCloud.md +726 -2930
  245. package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +580 -2099
  246. package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
  247. package/resource/doc/trtc/iOS/TXAudioEffectManager.md +179 -896
  248. package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
  249. package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
  250. package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
  251. package/resource/doc/trtc/iOS/TXLiveSDKTypeDef.md +747 -3559
  252. package/server.js +1 -5
  253. package/server.js.map +1 -1
  254. package/tools/call/get_callkit_api.js +32 -0
  255. package/tools/call/get_callkit_api.js.map +1 -0
  256. package/tools/call/get_native_call_uikit_integration.js +34 -0
  257. package/tools/call/get_native_call_uikit_integration.js.map +1 -0
  258. package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
  259. package/tools/call/get_web_call_uikit_integration.js.map +1 -0
  260. package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
  261. package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
  262. package/tools/chat/get_native_chat_uikit_integration.js +45 -0
  263. package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
  264. package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
  265. package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
  266. package/tools/chat/get_web_chat_uikit_integration.js +45 -0
  267. package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
  268. package/tools/common/get_faq.js +265 -0
  269. package/tools/common/get_faq.js.map +1 -0
  270. package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
  271. package/tools/common/get_usersig.js.map +1 -0
  272. package/tools/common/present_framework_choice.js +63 -0
  273. package/tools/common/present_framework_choice.js.map +1 -0
  274. package/tools/common/record_skill_session.js +58 -0
  275. package/tools/common/record_skill_session.js.map +1 -0
  276. package/tools/definitions/get_callkit_api_def.js +28 -0
  277. package/tools/definitions/get_callkit_api_def.js.map +1 -0
  278. package/tools/definitions/get_faq_def.js +18 -19
  279. package/tools/definitions/get_faq_def.js.map +1 -1
  280. package/tools/definitions/get_native_call_uikit_integration_def.js +15 -34
  281. package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
  282. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +31 -0
  283. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +1 -0
  284. package/tools/definitions/get_native_chat_uikit_integration_def.js +16 -41
  285. package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
  286. package/tools/definitions/get_native_livekit_core_features_def.js +33 -0
  287. package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
  288. package/tools/definitions/get_native_livekit_core_integration_def.js +33 -0
  289. package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
  290. package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
  291. package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
  292. package/tools/definitions/get_usersig_def.js +17 -24
  293. package/tools/definitions/get_usersig_def.js.map +1 -1
  294. package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
  295. package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
  296. package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
  297. package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
  298. package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
  299. package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
  300. package/tools/definitions/get_web_live_uikit_integration_def.js +13 -18
  301. package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
  302. package/tools/definitions/get_web_livekit_api_def.js +27 -0
  303. package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
  304. package/tools/definitions/get_web_livekit_component_detail_def.js +29 -0
  305. package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
  306. package/tools/definitions/get_web_room_uikit_integration_def.js +13 -46
  307. package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
  308. package/tools/definitions/get_web_roomkit_feature_detail_def.js +30 -0
  309. package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
  310. package/tools/definitions/get_web_trtc_sdk_api_def.js +25 -0
  311. package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
  312. package/tools/definitions/get_web_trtc_sdk_integration_def.js +25 -0
  313. package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
  314. package/tools/definitions/get_web_trtc_sdk_plugin_def.js +25 -0
  315. package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
  316. package/tools/definitions/present_framework_choice_def.js +23 -12
  317. package/tools/definitions/present_framework_choice_def.js.map +1 -1
  318. package/tools/definitions/record_skill_session_def.js +31 -0
  319. package/tools/definitions/record_skill_session_def.js.map +1 -0
  320. package/tools/index.js +49 -61
  321. package/tools/index.js.map +1 -1
  322. package/tools/live/get_native_livekit_core_features.js +65 -0
  323. package/tools/live/get_native_livekit_core_features.js.map +1 -0
  324. package/tools/live/get_native_livekit_core_integration.js +59 -0
  325. package/tools/live/get_native_livekit_core_integration.js.map +1 -0
  326. package/tools/live/get_web_live_uikit_integration.js +48 -0
  327. package/tools/live/get_web_live_uikit_integration.js.map +1 -0
  328. package/tools/live/get_web_livekit_api.js +32 -0
  329. package/tools/live/get_web_livekit_api.js.map +1 -0
  330. package/tools/live/get_web_livekit_component_detail.js +34 -0
  331. package/tools/live/get_web_livekit_component_detail.js.map +1 -0
  332. package/tools/room/{get-web-room-integration.js → get_web_room_uikit_integration.js} +13 -14
  333. package/tools/room/get_web_room_uikit_integration.js.map +1 -0
  334. package/tools/room/{get-web-room-feature-detail.js → get_web_roomkit_feature_detail.js} +30 -31
  335. package/tools/room/get_web_roomkit_feature_detail.js.map +1 -0
  336. package/tools/rtcengine/get_web_trtc_sdk_api.js +31 -0
  337. package/tools/rtcengine/get_web_trtc_sdk_api.js.map +1 -0
  338. package/tools/rtcengine/get_web_trtc_sdk_integration.js +31 -0
  339. package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +1 -0
  340. package/tools/rtcengine/get_web_trtc_sdk_plugin.js +31 -0
  341. package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +1 -0
  342. package/tools/trtc/get_native_trtc_sdk_docs.js +73 -0
  343. package/tools/trtc/get_native_trtc_sdk_docs.js.map +1 -0
  344. package/utils/generate-structured-result.js +61 -17
  345. package/utils/generate-structured-result.js.map +1 -1
  346. package/utils/report-cls-client.js +21 -1
  347. package/utils/report-cls-client.js.map +1 -1
  348. package/utils/report-es-client.js +1 -1
  349. package/resource/doc/chatuikit/android/workflow.md +0 -713
  350. package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1376
  351. package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -860
  352. package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1371
  353. package/resource/doc/chatuikit/flutter/workflow.md +0 -816
  354. package/resource/doc/chatuikit/iOS/workflow.md +0 -0
  355. package/resource/doc/chatuikit/react/components/conversation-list.md +0 -765
  356. package/resource/doc/chatuikit/react/components/search.md +0 -885
  357. package/resource/doc/chatuikit/react/create-group.md +0 -22
  358. package/resource/doc/chatuikit/react/init.md +0 -25
  359. package/resource/doc/chatuikit/react/workflow.md +0 -254
  360. package/resource/doc/chatuikit/uniapp-app/faq.md +0 -0
  361. package/resource/doc/chatuikit/uniapp-app/integration.md +0 -619
  362. package/resource/doc/chatuikit/uniapp-app/workflow.md +0 -576
  363. package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
  364. package/resource/doc/chatuikit/vue/components/tuikit.md +0 -110
  365. package/resource/doc/chatuikit/vue/create-group.md +0 -26
  366. package/resource/doc/chatuikit/vue/init.md +0 -35
  367. package/resource/doc/chatuikit/vue/workflow.md +0 -395
  368. package/resource/doc/livekit/live/android/workflow.md +0 -322
  369. package/resource/doc/livekit/live/flutter/workflow.md +0 -353
  370. package/resource/doc/livekit/live/ios/workflow.md +0 -352
  371. package/resource/doc/livekit/live/vue/components/barrage.md +0 -615
  372. package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -442
  373. package/resource/doc/livekit/live/vue/faq.md +0 -0
  374. package/resource/doc/livekit/live/vue/live-list-integration.md +0 -195
  375. package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -293
  376. package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -381
  377. package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -598
  378. package/resource/doc/livekit/live/vue/states/live-state.md +0 -2656
  379. package/resource/doc/livekit/live/vue/workflow.md +0 -219
  380. package/resource/doc/livekit/voice/android/workflow.md +0 -333
  381. package/resource/doc/livekit/voice/flutter/workflow.md +0 -359
  382. package/resource/doc/livekit/voice/ios/voice-integration.md +0 -853
  383. package/resource/doc/livekit/voice/ios/workflow.md +0 -358
  384. package/resource/doc/livekit/voice/uni-app/voice-integration.md +0 -613
  385. package/resource/doc/livekit/voice/uni-app/workflow.md +0 -369
  386. package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -334
  387. package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -434
  388. package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -685
  389. package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -712
  390. package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -284
  391. package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
  392. package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
  393. package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
  394. package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
  395. package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -879
  396. package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -668
  397. package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -456
  398. package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -332
  399. package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
  400. package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -328
  401. package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -505
  402. package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
  403. package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -676
  404. package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
  405. package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -820
  406. package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1065
  407. package/resource/doc/roomkit/vue/features/workflow.md +0 -553
  408. package/resource/doc/roomkit/vue/workflow.md +0 -733
  409. package/resource/doc/tuicallkit/android/workflow.md +0 -432
  410. package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -786
  411. package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -663
  412. package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -932
  413. package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -926
  414. package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -452
  415. package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -779
  416. package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -635
  417. package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
  418. package/resource/doc/tuicallkit/react/api.md +0 -1512
  419. package/resource/doc/tuicallkit/react/faq.md +0 -986
  420. package/resource/doc/tuicallkit/vue/api.md +0 -1512
  421. package/tools/call/get-native-call-integration.js +0 -43
  422. package/tools/call/get-native-call-integration.js.map +0 -1
  423. package/tools/call/get-web-call-api.js +0 -27
  424. package/tools/call/get-web-call-api.js.map +0 -1
  425. package/tools/call/get-web-call-integration.js.map +0 -1
  426. package/tools/chat/get-native-chat-feature-detail.js +0 -30
  427. package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
  428. package/tools/chat/get-native-chat-integration.js +0 -45
  429. package/tools/chat/get-native-chat-integration.js.map +0 -1
  430. package/tools/chat/get-web-chat-component-detail.js +0 -31
  431. package/tools/chat/get-web-chat-component-detail.js.map +0 -1
  432. package/tools/chat/get-web-chat-integration.js +0 -45
  433. package/tools/chat/get-web-chat-integration.js.map +0 -1
  434. package/tools/chat/get-web-chat-uikit-init.js +0 -28
  435. package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
  436. package/tools/chat/get-web-create-group-doc.js +0 -28
  437. package/tools/chat/get-web-create-group-doc.js.map +0 -1
  438. package/tools/common/get-faq.js +0 -91
  439. package/tools/common/get-faq.js.map +0 -1
  440. package/tools/common/get-usersig.js.map +0 -1
  441. package/tools/common/present-framework-choice.js +0 -16
  442. package/tools/common/present-framework-choice.js.map +0 -1
  443. package/tools/common/present-scenario-choice.js +0 -16
  444. package/tools/common/present-scenario-choice.js.map +0 -1
  445. package/tools/common/record-prompt.js +0 -55
  446. package/tools/common/record-prompt.js.map +0 -1
  447. package/tools/common/record-result.js +0 -60
  448. package/tools/common/record-result.js.map +0 -1
  449. package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
  450. package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
  451. package/tools/definitions/get_native_live_api_def.js +0 -22
  452. package/tools/definitions/get_native_live_api_def.js.map +0 -1
  453. package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -109
  454. package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
  455. package/tools/definitions/get_native_live_uikit_integration_def.js +0 -75
  456. package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
  457. package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -63
  458. package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
  459. package/tools/definitions/get_trtc_native_api_def.js +0 -17
  460. package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
  461. package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
  462. package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
  463. package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
  464. package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
  465. package/tools/definitions/get_web_create_group_doc_def.js +0 -18
  466. package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
  467. package/tools/definitions/get_web_live_state_detail_def.js +0 -19
  468. package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
  469. package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
  470. package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
  471. package/tools/definitions/get_web_room_feature_detail_def.js +0 -92
  472. package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
  473. package/tools/definitions/present_scenario_choice_def.js +0 -53
  474. package/tools/definitions/present_scenario_choice_def.js.map +0 -1
  475. package/tools/definitions/record_prompt_def.js +0 -58
  476. package/tools/definitions/record_prompt_def.js.map +0 -1
  477. package/tools/definitions/record_result_def.js +0 -46
  478. package/tools/definitions/record_result_def.js.map +0 -1
  479. package/tools/live/get-native-live-uikit-integration.js +0 -177
  480. package/tools/live/get-native-live-uikit-integration.js.map +0 -1
  481. package/tools/live/get-web-live-component-detail.js +0 -31
  482. package/tools/live/get-web-live-component-detail.js.map +0 -1
  483. package/tools/live/get-web-live-state-detail.js +0 -31
  484. package/tools/live/get-web-live-state-detail.js.map +0 -1
  485. package/tools/live/get-web-live-uikit-integration.js +0 -52
  486. package/tools/live/get-web-live-uikit-integration.js.map +0 -1
  487. package/tools/live/get_native_live_uikit_extra_features.js +0 -105
  488. package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
  489. package/tools/live/get_native_live_uikit_interaction.js +0 -194
  490. package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
  491. package/tools/native_live/get-native-live-api.js +0 -31
  492. package/tools/native_live/get-native-live-api.js.map +0 -1
  493. package/tools/room/get-web-room-feature-detail.js.map +0 -1
  494. package/tools/room/get-web-room-integration.js.map +0 -1
  495. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
  496. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
  497. package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
  498. package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
  499. package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
  500. package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
  501. package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
  502. package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
  503. package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
  504. package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
  505. package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
  506. package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
  507. package/tools/trtc/get-trtc-native-api.js +0 -31
  508. package/tools/trtc/get-trtc-native-api.js.map +0 -1
  509. package/utils/handle-component-name.js +0 -33
  510. package/utils/handle-component-name.js.map +0 -1
  511. /package/resource/doc/{rtcengine/web → callkit/core-sdk}/.gitkeep +0 -0
  512. /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
  513. /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
  514. /package/resource/doc/{chatuikit → chatkit}/react/faq.md +0 -0
@@ -1,14 +1,13 @@
1
- 本文将介绍如何集成 `TUIKit` 组件。
1
+ 本文将介绍如何集成 `TUIKit` 组件。
2
2
 
3
3
  > **说明:**
4
- >
4
+ >
5
5
  > 1. 从 5.7.1435 版本开始,TUIKit 支持模块化集成,支持了经典版 UI,您可以根据自己的需求集成所需模块。
6
6
  > 2. 从 6.9.3557 版本开始,TUIKit 新增了全新的简约版 UI。
7
7
  > 3. 为了尊重版权,IM Demo/TUIKit 工程中默认不包含大表情元素切图。正式上线商用前请您替换为自己设计或拥有版权的其他表情包。下图所示默认的**小黄脸表情包版权归腾讯云所有**,可有偿授权使用,如需获得授权可您可以通过升级至 [IM 企业版套餐](https://buy.cloud.tencent.com/avc) 免费使用该表情包。
8
8
 
9
- > ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027937867/00f495e4391911efbec9525400a9236a.png)
10
- >
11
-
9
+ >
10
+ >
12
11
 
13
12
  您可以根据需求自由选择经典版或简约版 UI 组件。如果您还不了解各个界面库的功能,可以查阅文档 [TUIKit 界面库介绍](https://cloud.tencent.com/document/product/269/37190)。
14
13
 
@@ -17,7 +16,6 @@
17
16
 
18
17
  - iOS 9.0 及以上
19
18
 
20
-
21
19
  ## CocoaPods 集成
22
20
  1. 安装 CocoaPods。
23
21
  在终端窗口中输入如下命令(需要提前在 Mac 中安装 Ruby 环境):
@@ -37,60 +35,25 @@
37
35
 
38
36
  - DevelopmentPods 本地集成。
39
37
 
40
-
41
38
  以上两种集成方式的优缺点如下表所示:
42
39
 
43
- <table>
44
- <tr>
45
- <td rowspan="1" colSpan="1" >集成方式</td>
46
-
47
- <td rowspan="1" colSpan="1" >适合场景</td>
48
-
49
- <td rowspan="1" colSpan="1" >优点</td>
50
-
51
- <td rowspan="1" colSpan="1" >缺点</td>
52
- </tr>
53
-
54
- <tr>
55
- <td rowspan="1" colSpan="1" >远程 CocoaPods 集成</td>
56
-
57
- <td rowspan="1" colSpan="1" >适合无源码修改时的集成。</td>
58
-
59
- <td rowspan="1" colSpan="1" >当 TUIKit 有版本更新时,您只需再次` Pod update `即可完成更新。</td>
60
-
61
- <td rowspan="1" colSpan="1" >当您有源码修改,使用 `Pod update` 更新时,新版本的 TUIKit 会覆盖您的修改。</td>
62
- </tr>
63
-
64
- <tr>
65
- <td rowspan="1" colSpan="1" >本地 DevelopmentPods 集成</td>
66
-
67
- <td rowspan="1" colSpan="1" >适合有涉及源码自定义修改的客户。</td>
68
-
69
- <td rowspan="1" colSpan="1" >当您有自己的 git 仓库时,可以跟踪修改。修改源码后,使用 `Pod update` 更新其他远程 Pod 库时,不会覆盖您的修改。</td>
70
-
71
- <td rowspan="1" colSpan="1" >您需要手动将 TUIKit 源码覆盖您本地 TUIKit 文件夹进行更新。</td>
72
- </tr>
73
- </table>
74
-
40
+ | 集成方式 | 适合场景 | 优点 | 缺点 |
41
+ | --- | --- | --- | --- |
42
+ | 远程 CocoaPods 集成 | 适合无源码修改时的集成。 | 当 TUIKit 有版本更新时,您只需再次` Pod update `即可完成更新。 | 当您有源码修改,使用 `Pod update` 更新时,新版本的 TUIKit 会覆盖您的修改。 |
43
+ | 本地 DevelopmentPods 集成 | 适合有涉及源码自定义修改的客户。 | 当您有自己的 git 仓库时,可以跟踪修改。修改源码后,使用 `Pod update` 更新其他远程 Pod 库时,不会覆盖您的修改。 | 您需要手动将 TUIKit 源码覆盖您本地 TUIKit 文件夹进行更新。 |
75
44
 
76
45
  ### 远程 CocoaPods 集成
77
46
 
78
47
  您可以在 Podfile 中按需添加组件库:
79
48
 
80
49
  > **注意:**
81
- >
50
+ >
82
51
 
83
52
  > 从 8.5.6870 版本开始,TUIKit 支持 Swift 语言组件。
84
- >
85
-
86
-
87
-
53
+ >
88
54
 
89
55
  【经典版】
90
56
 
91
-
92
-
93
-
94
57
  【Swift 组件】
95
58
  ``` bash
96
59
  # Uncomment the next line to define a global platform for your project
@@ -105,13 +68,13 @@ target 'your_project_name' do
105
68
  use_modular_headers!
106
69
 
107
70
  # 集成聊天功能
108
- pod 'TUIChat_Swift/UI_Classic'
71
+ pod 'TUIChat_Swift/UI_Classic'
109
72
  # 集成会话功能
110
73
  pod 'TUIConversation_Swift/UI_Classic'
111
74
  # 集成关系链功能
112
75
  pod 'TUIContact_Swift/UI_Classic'
113
76
  # 集成搜索功能(需要购买旗舰版或企业版套餐)
114
- pod 'TUISearch_Swift/UI_Classic'
77
+ pod 'TUISearch_Swift/UI_Classic'
115
78
  # 集成音视频通话功能
116
79
  pod 'TUICallKit_Swift'
117
80
  # 集成投票插件
@@ -119,7 +82,7 @@ target 'your_project_name' do
119
82
  # 集成群接龙插件
120
83
  pod 'TUIGroupNotePlugin_Swift'
121
84
  # 集成翻译插件(需开通增值功能,请联系腾讯云商务开通)
122
- pod 'TUITranslationPlugin_Swift'
85
+ pod 'TUITranslationPlugin_Swift'
123
86
  # 集成会话分组插件
124
87
  pod 'TUIConversationGroupPlugin_Swift'
125
88
  # 集成会话标记插件
@@ -131,7 +94,7 @@ end
131
94
  #Pods config
132
95
  post_install do |installer|
133
96
  installer.pods_project.targets.each do |target|
134
- target.build_configurations.each do |config|
97
+ target.build_configurations.each do |config|
135
98
  #Fix Xcode14 Bundle target error
136
99
  config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
137
100
  config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
@@ -160,7 +123,6 @@ post_install do |installer|
160
123
 
161
124
  ```
162
125
 
163
-
164
126
  【Objective-C 组件】
165
127
  ``` bash
166
128
  # Uncomment the next line to define a global platform for your project
@@ -178,13 +140,13 @@ target 'your_project_name' do
178
140
  # use_modular_headers!
179
141
 
180
142
  # 集成聊天功能
181
- pod 'TUIChat/UI_Classic'
143
+ pod 'TUIChat/UI_Classic'
182
144
  # 集成会话功能
183
145
  pod 'TUIConversation/UI_Classic'
184
146
  # 集成关系链功能
185
147
  pod 'TUIContact/UI_Classic'
186
148
  # 集成搜索功能(需要购买旗舰版或企业版套餐)
187
- pod 'TUISearch/UI_Classic'
149
+ pod 'TUISearch/UI_Classic'
188
150
  # 集成音视频通话功能
189
151
  pod 'TUICallKit_Swift'
190
152
  # 集成快速会议
@@ -194,7 +156,7 @@ target 'your_project_name' do
194
156
  # 集成群接龙插件,从 7.1 版本开始支持
195
157
  pod 'TUIGroupNotePlugin'
196
158
  # 集成翻译插件,从 7.2 版本开始支持(需开通增值功能,请联系腾讯云商务开通)
197
- pod 'TUITranslationPlugin'
159
+ pod 'TUITranslationPlugin'
198
160
  # 集成会话分组插件,从 7.3 版本开始支持
199
161
  pod 'TUIConversationGroupPlugin'
200
162
  # 集成会话标记插件,从 7.3 版本开始支持
@@ -208,7 +170,7 @@ end
208
170
  #Pods config
209
171
  post_install do |installer|
210
172
  installer.pods_project.targets.each do |target|
211
- target.build_configurations.each do |config|
173
+ target.build_configurations.each do |config|
212
174
  #Fix Xcode14 Bundle target error
213
175
  config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
214
176
  config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
@@ -239,9 +201,6 @@ post_install do |installer|
239
201
 
240
202
  【简约版】
241
203
 
242
-
243
-
244
-
245
204
  【Swift 组件】
246
205
  ``` bash
247
206
  # Uncomment the next line to define a global platform for your project
@@ -256,26 +215,26 @@ target 'your_project_name' do
256
215
  use_modular_headers!
257
216
 
258
217
  # 集成聊天功能
259
- pod 'TUIChat_Swift/UI_Minimalist'
218
+ pod 'TUIChat_Swift/UI_Minimalist'
260
219
  # 集成会话功能
261
220
  pod 'TUIConversation_Swift/UI_Minimalist'
262
221
  # 集成关系链功能
263
222
  pod 'TUIContact_Swift/UI_Minimalist'
264
223
  # 集成搜索功能(需要购买旗舰版或企业版、套餐)
265
- pod 'TUISearch_Swift/UI_Minimalist'
224
+ pod 'TUISearch_Swift/UI_Minimalist'
266
225
  # 集成音视频通话功能
267
226
  pod 'TUICallKit_Swift'
268
227
  # 集成翻译插件(需单独购买翻译插件)
269
- pod 'TUITranslationPlugin_Swift'
228
+ pod 'TUITranslationPlugin_Swift'
270
229
  # 集成语音转文字插件
271
230
  pod 'TUIVoiceToTextPlugin_Swift'
272
- # 集成表情回应插件
231
+ # 集成表情回应插件
273
232
  pod 'TUIEmojiPlugin_Swift'
274
233
  end
275
234
  #Pods config
276
235
  post_install do |installer|
277
236
  installer.pods_project.targets.each do |target|
278
- target.build_configurations.each do |config|
237
+ target.build_configurations.each do |config|
279
238
  #Fix Xcode14 Bundle target error
280
239
  config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
281
240
  config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
@@ -303,7 +262,6 @@ post_install do |installer|
303
262
  end
304
263
  ```
305
264
 
306
-
307
265
  【Objective-C 组件】
308
266
  ``` bash
309
267
  # Uncomment the next line to define a global platform for your project
@@ -321,28 +279,28 @@ target 'your_project_name' do
321
279
  # use_modular_headers!
322
280
 
323
281
  # 集成聊天功能
324
- pod 'TUIChat/UI_Minimalist'
282
+ pod 'TUIChat/UI_Minimalist'
325
283
  # 集成会话功能
326
284
  pod 'TUIConversation/UI_Minimalist'
327
285
  # 集成关系链功能
328
286
  pod 'TUIContact/UI_Minimalist'
329
287
  # 集成搜索功能(需要购买旗舰版或企业版、套餐)
330
- pod 'TUISearch/UI_Minimalist'
288
+ pod 'TUISearch/UI_Minimalist'
331
289
  # 集成音视频通话功能
332
290
  pod 'TUICallKit_Swift'
333
291
  # 集成翻译插件,从 7.2 版本开始支持(需单独购买翻译插件)
334
- pod 'TUITranslationPlugin'
292
+ pod 'TUITranslationPlugin'
335
293
  # 集成语音转文字插件,从 7.5 版本开始支持
336
294
  pod 'TUIVoiceToTextPlugin'
337
295
  # 集成消息推送插件,从 7.6 版本开始支持
338
296
  pod 'TIMPush'
339
- # 集成表情回应插件,从 7.8 版本开始支持
297
+ # 集成表情回应插件,从 7.8 版本开始支持
340
298
  pod 'TUIEmojiPlugin'
341
299
  end
342
300
  #Pods config
343
301
  post_install do |installer|
344
302
  installer.pods_project.targets.each do |target|
345
- target.build_configurations.each do |config|
303
+ target.build_configurations.each do |config|
346
304
  #Fix Xcode14 Bundle target error
347
305
  config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
348
306
  config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
@@ -371,12 +329,11 @@ post_install do |installer|
371
329
  ```
372
330
 
373
331
  > **说明:**
374
- >
375
- > 1. 如果您直接 `pod 'TUIChat'`,不指定经典版或简约版,默认会集成两套版本 UI 组件。
332
+ >
333
+ > 1. 如果您直接 `pod 'TUIChat'`,不指定经典版或简约版,默认会集成两套版本 UI 组件。
376
334
  > 2. 经典版和简约版 UI 不能混用,集成多个组件时,您必须同时全部选择经典版 UI 或简约版 UI。例如,经典版 `TUIChat` 组件必须与经典版 `TUIConversation`、`TUIContact` 组件搭配使用。同理,简约版 `TUIChat` 组件必须与简约版 `TUIConversation`、`TUIContact` 组件搭配使用。
377
335
  > 3. 如果您使用的是 Swift,请开启 `use_modular_headers!` ,并将头文件引用改成 @import 模块名形式引用。
378
336
 
379
-
380
337
  Podfile 修改完毕后,执行以下命令,安装 TUIKit 组件。
381
338
  ``` bash
382
339
  pod install
@@ -394,27 +351,19 @@ pod update
394
351
 
395
352
  集成全部的 TUIKit 组件后的项目结构:
396
353
 
397
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100031390357/0ae0e5c8eb4411eeb5dc525400aa857d.png)
398
-
399
-
400
354
  > **注意:**
401
- >
355
+ >
402
356
 
403
357
  > 若您操作遇到错误,可查阅文末的常见问题。
404
- >
405
-
358
+ >
406
359
 
407
360
  ### 本地 DevelopmentPods 源码集成
408
361
  1. 从 GitHub 下载 TUIKit 源码,将 TUIKit 目录直接拖入您的工程目录下:
409
362
 
410
363
  - [Swift TUIKit 源码 Github 地址](https://github.com/Tencent-RTC/Chat_UIKit/tree/main/Swift/TUIKit):
411
364
 
412
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027639409/69fbca623b9411f0912c52540044a08e.png)
413
-
414
365
  - [Objective-C TUIKit 源码 Github 地址](https://github.com/TencentCloud/TIMSDK/tree/master/iOS/TUIKit):
415
366
 
416
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027870539/d51053be4e1011ee84f2525400494e51.png)
417
-
418
367
  2. 修改您 Podfile 中每个组件的本地路径。path 是 TUIKit 文件夹相对于您工程 Podfile 文件的位置,常见的有:
419
368
 
420
369
  - TUIKit 文件夹位于您工程 Podfile 文件**父目录**: `pod 'TUICore', :path => "../TUIKit/TUICore"`
@@ -423,17 +372,10 @@ pod update
423
372
 
424
373
  - TUIKit 文件夹位于您工程 Podfile 文件**子目录**: ` pod 'TUICore', :path => "/TUIKit/TUICore"`
425
374
 
426
-
427
375
  以 TUIKit 文件夹位于您工程 Podfile 文件父目录为例:
428
376
 
429
-
430
-
431
-
432
377
  【DevelopmentPodfile】
433
378
 
434
-
435
-
436
-
437
379
  【Swift 组件】
438
380
  ``` bash
439
381
  # Uncomment the next line to define a global platform for your project
@@ -446,7 +388,7 @@ target 'your_project_name' do
446
388
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
447
389
  use_frameworks!
448
390
  use_modular_headers!
449
-
391
+
450
392
  # 集成基础库(必选)
451
393
  pod 'TUICore', :path => "../TUIKit/TUICore"
452
394
  pod 'TIMCommon_Swift', :path => "../TUIKit/TIMCommon"
@@ -459,10 +401,10 @@ target 'your_project_name' do
459
401
  pod 'TUIContact_Swift', :path => "../TUIKit/TUIContact"
460
402
  # 集成搜索功能(需要购买旗舰版或企业版套餐)
461
403
  pod 'TUISearch_Swift', :path => "../TUIKit/TUISearch"
462
-
404
+
463
405
  # 集成音视频通话功能
464
406
  pod 'TUICallKit_Swift'
465
-
407
+
466
408
  # 集成 TUIKitPlugin 插件 (可选)
467
409
  # 集成翻译插件(需单独购买插件)
468
410
  pod 'TUITranslationPlugin_Swift'
@@ -476,7 +418,7 @@ end
476
418
  #Pods config
477
419
  post_install do |installer|
478
420
  installer.pods_project.targets.each do |target|
479
- target.build_configurations.each do |config|
421
+ target.build_configurations.each do |config|
480
422
  #Fix Xcode14 Bundle target error
481
423
  config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
482
424
  config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
@@ -505,7 +447,6 @@ post_install do |installer|
505
447
  en
506
448
  ```
507
449
 
508
-
509
450
  【Objective-C 组件】
510
451
  ``` bash
511
452
  # Uncomment the next line to define a global platform for your project
@@ -518,7 +459,7 @@ target 'your_project_name' do
518
459
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
519
460
  use_frameworks!
520
461
  use_modular_headers!
521
-
462
+
522
463
  # 集成基础库(必选)
523
464
  pod 'TUICore', :path => "../TUIKit/TUICore"
524
465
  pod 'TIMCommon', :path => "../TUIKit/TIMCommon"
@@ -531,12 +472,12 @@ target 'your_project_name' do
531
472
  pod 'TUIContact', :path => "../TUIKit/TUIContact"
532
473
  # 集成搜索功能(需要购买旗舰版或企业版套餐)
533
474
  pod 'TUISearch', :path => "../TUIKit/TUISearch"
534
-
475
+
535
476
  # 集成音视频通话功能
536
477
  pod 'TUICallKit_Swift'
537
478
  # 集成快速会议
538
479
  pod 'TUIRoomKit'
539
-
480
+
540
481
  # 集成TUIKitPlugin插件 (可选)
541
482
  # 集成翻译插件,从 7.2 版本开始支持(需单独购买翻译插件)
542
483
  pod 'TUITranslationPlugin'
@@ -550,7 +491,7 @@ end
550
491
  #Pods config
551
492
  post_install do |installer|
552
493
  installer.pods_project.targets.each do |target|
553
- target.build_configurations.each do |config|
494
+ target.build_configurations.each do |config|
554
495
  #Fix Xcode14 Bundle target error
555
496
  config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
556
497
  config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
@@ -583,22 +524,18 @@ en
583
524
 
584
525
  ``` bash
585
526
  pod install
586
- ```
527
+ ```
587
528
 
588
529
  > **注意:**
589
- >
530
+ >
590
531
  > 1. 使用本地集成方案时,如需升级时需要从 Github 获取最新的组件代码,覆盖您本地项目的 TUIKit 目录。
591
532
  > 2. 当私有化修改和远端有冲突时,需要手动合并,处理冲突。
592
533
  > 3. TUIKit 插件需要依赖 TUICore 的版本,请确保插件版本和 "../TUIKit/TUICore/TUICore.spec" 中的 spec.version 一致。
593
534
 
594
-
595
535
  ## 第三方库依赖
596
536
 
597
537
  TUIKit 依赖的第三方库的最低版本如下,如果您的版本较低,请升级到最新版本。
598
538
 
599
-
600
-
601
-
602
539
  【Swift 组件】
603
540
  ``` plaintext
604
541
  - MJExtension (3.4.1)
@@ -608,7 +545,6 @@ TUIKit 依赖的第三方库的最低版本如下,如果您的版本较低,
608
545
  - SDWebImage (5.18.11)
609
546
  ```
610
547
 
611
-
612
548
  【Objective-C 组件】
613
549
  ``` plaintext
614
550
  - Masonry (1.1.0)
@@ -627,14 +563,13 @@ TUIKit 依赖的第三方库的最低版本如下,如果您的版本较低,
627
563
  常用的聊天软件都是由会话列表、聊天窗口、好友列表、音视频通话等几个基本的界面组成,参考下面步骤,您仅需几行代码即可在项目中快速搭建这些 UI 界面。
628
564
 
629
565
  > **说明:**
630
- >
566
+ >
631
567
 
632
568
  > 关于 TUIKit 组件模块功能:
633
- >
569
+ >
634
570
  > - 实操教学(Objective-C 组件版本)视频请参见:[极速集成 TUIKit(iOS)](https://cloud.tencent.com/edu/learning/course-3130-56699)。
635
571
  > - 如果想了解更多,您还可以 [下载并运行 TUIKitDemo 源码](https://cloud.tencent.com/document/product/269/68228),内含常见功能示例。
636
572
 
637
-
638
573
  ### 步骤1:组件登录
639
574
 
640
575
  登录组件后才能正常使用组件的功能。用户在 App 上点击登录时,您可以登录 TUIKit 组件。
@@ -642,9 +577,6 @@ SDKAppID 需要在 [即时通信 IM 控制台](https://console.cloud.tencent.com
642
577
 
643
578
  示例代码如下所示:
644
579
 
645
-
646
-
647
-
648
580
  【Swift】
649
581
  ``` swift
650
582
  @objc func loginSDK(_ userID: String, userSig: String, succ: TSucc?, fail: TFail?) {
@@ -658,7 +590,6 @@ SDKAppID 需要在 [即时通信 IM 控制台](https://console.cloud.tencent.com
658
590
  }
659
591
  ```
660
592
 
661
-
662
593
  【Objective-C】
663
594
  ``` objectivec
664
595
  #import "TUILogin.h"
@@ -678,13 +609,8 @@ SDKAppID 需要在 [即时通信 IM 控制台](https://console.cloud.tencent.com
678
609
 
679
610
  示例代码如下所示:
680
611
 
681
-
682
-
683
612
  【经典版】
684
613
 
685
-
686
-
687
-
688
614
  【Swift】
689
615
  ``` swift
690
616
  // ConversationController 为您自己的 ViewController
@@ -706,13 +632,12 @@ public protocol TUIConversationListControllerListener: AnyObject {
706
632
  }
707
633
  ```
708
634
 
709
-
710
635
  【Objective-C】
711
636
  ``` objectivec
712
637
  #import "TUIConversationListController.h"
713
638
 
714
639
  // ConversationController 为您自己的 ViewController
715
- @implementation ConversationController
640
+ @implementation ConversationController
716
641
  - (void)viewDidLoad {
717
642
  [super viewDidLoad];
718
643
  // TUIConversationListController
@@ -723,7 +648,7 @@ public protocol TUIConversationListControllerListener: AnyObject {
723
648
  [self.view addSubview:vc.view];
724
649
  }
725
650
 
726
- - (void)conversationListController:(UIViewController *)conversationController
651
+ - (void)conversationListController:(UIViewController *)conversationController
727
652
  didSelectConversation:(TUIConversationCellData *)conversation {
728
653
  // 会话列表点击事件,可自定义,通常是打开聊天界面
729
654
  }
@@ -732,9 +657,6 @@ public protocol TUIConversationListControllerListener: AnyObject {
732
657
 
733
658
  【简约版】
734
659
 
735
-
736
-
737
-
738
660
  【Swift】
739
661
  ``` swift
740
662
  // ConversationController 为您自己的 ViewController
@@ -756,7 +678,6 @@ public protocol TUIConversationListControllerListener: AnyObject {
756
678
  }
757
679
  ```
758
680
 
759
-
760
681
  【Objective-C】
761
682
  ``` objectivec
762
683
  #import "TUIConversationListController_Minimalist.h"
@@ -773,7 +694,7 @@ public protocol TUIConversationListControllerListener: AnyObject {
773
694
  [self.view addSubview:vc.view];
774
695
  }
775
696
 
776
- - (void)conversationListController:(TUIConversationListController_Minimalist *)conversationController
697
+ - (void)conversationListController:(TUIConversationListController_Minimalist *)conversationController
777
698
  didSelectConversation:(TUIConversationCell *)conversation
778
699
  {
779
700
  // 会话列表点击事件,通常是打开聊天界面
@@ -787,13 +708,8 @@ public protocol TUIConversationListControllerListener: AnyObject {
787
708
 
788
709
  示例代码如下所示:
789
710
 
790
-
791
-
792
711
  【经典版】
793
712
 
794
-
795
-
796
-
797
713
  【Swift】
798
714
  ``` swift
799
715
  let conversationData = TUIChatConversationModel()
@@ -815,7 +731,6 @@ private func getChatViewController(_ model: TUIChatConversationModel) -> TUIBase
815
731
  }
816
732
  ```
817
733
 
818
-
819
734
  【Objective-C】
820
735
  ``` objectivec
821
736
  #import "TUIC2CChatViewController.h"
@@ -825,9 +740,9 @@ private func getChatViewController(_ model: TUIChatConversationModel) -> TUIBase
825
740
  - (void)viewDidLoad {
826
741
  // 创建会话信息
827
742
  TUIChatConversationModel *data = [[TUIChatConversationModel alloc] init];
828
- data.userID = @"userID";
743
+ data.userID = @"userID";
829
744
  // TUIC2CChatViewController
830
- TUIC2CChatViewController *vc = [[TUIC2CChatViewController alloc] init];
745
+ TUIC2CChatViewController *vc = [[TUIC2CChatViewController alloc] init];
831
746
  [vc setConversationData:data];
832
747
  // 把 TUIC2CChatViewController 添加到自己的 ViewController
833
748
  [self addChildViewController:vc];
@@ -837,17 +752,13 @@ private func getChatViewController(_ model: TUIChatConversationModel) -> TUIBase
837
752
  ```
838
753
 
839
754
  > **说明:**
840
- >
755
+ >
841
756
 
842
757
  > `TUIC2CChatViewController` 会自动拉取该用户的历史消息并展示出来。
843
- >
844
-
758
+ >
845
759
 
846
760
  【简约版】
847
761
 
848
-
849
-
850
-
851
762
  【Swift】
852
763
  ``` swift
853
764
  let conversationData = TUIChatConversationModel()
@@ -869,7 +780,6 @@ private func getChatViewController(_ model: TUIChatConversationModel) -> TUIBase
869
780
  }
870
781
  ```
871
782
 
872
-
873
783
  【Objective-C】
874
784
  ``` objectivec
875
785
  #import "TUIC2CChatViewController_Minimalist.h"
@@ -879,9 +789,9 @@ private func getChatViewController(_ model: TUIChatConversationModel) -> TUIBase
879
789
  - (void)viewDidLoad {
880
790
  // 创建会话信息
881
791
  TUIChatConversationModel *data = [[TUIChatConversationModel alloc] init];
882
- data.userID = @"userID";
792
+ data.userID = @"userID";
883
793
  // 创建 TUIC2CChatViewController_Minimalist
884
- TUIC2CChatViewController_Minimalist *vc = [[TUIC2CChatViewController_Minimalist alloc] init];
794
+ TUIC2CChatViewController_Minimalist *vc = [[TUIC2CChatViewController_Minimalist alloc] init];
885
795
  [vc setConversationData:data];
886
796
  // 把 TUIC2CChatViewController 添加到自己的 ViewController
887
797
  [self addChildViewController:vc];
@@ -891,23 +801,17 @@ private func getChatViewController(_ model: TUIChatConversationModel) -> TUIBase
891
801
  ```
892
802
 
893
803
  > **说明**
894
- >
804
+ >
895
805
 
896
806
  > `TUIC2CChatViewController_Minimalist` 会自动拉取该用户的历史消息并展示出来。
897
- >
898
-
807
+ >
899
808
 
900
809
  ### 步骤4:构建通讯录界面
901
810
 
902
811
  通讯录界面不需要其它依赖,只需创建对象并显示出来即可。
903
812
 
904
-
905
-
906
813
  【经典版】
907
814
 
908
-
909
-
910
-
911
815
  【Swift】
912
816
  ``` swift
913
817
  // ContactController 为您自己的 ViewController
@@ -924,14 +828,13 @@ public class ContactsController: UIViewController, TUIPopViewDelegate {
924
828
  }
925
829
  ```
926
830
 
927
-
928
831
  【Objective-C】
929
832
  ``` objectivec
930
833
  #import "TUIContactController.h"
931
834
 
932
835
  // ContactController 为您自己的 ViewController
933
836
  @implementation ContactController
934
- - (void)viewDidLoad {
837
+ - (void)viewDidLoad {
935
838
  // 创建 TUIContactController
936
839
  TUIContactController *vc = [[TUIContactController alloc] init];
937
840
  // 把 TUIContactController 添加到自己的 ViewController
@@ -943,9 +846,6 @@ public class ContactsController: UIViewController, TUIPopViewDelegate {
943
846
 
944
847
  注意,上面代码只能将 `TUIContactController` 初始化并展示出来,其中的点击行为(例如点击好友、添加好友等),TUIKit 会通过 `TUIContactControllerListener` 抛给上层处理:
945
848
 
946
-
947
-
948
-
949
849
  【Swift】
950
850
  ``` swift
951
851
  protocol TUIContactControllerListener: NSObjectProtocol {
@@ -956,7 +856,6 @@ protocol TUIContactControllerListener: NSObjectProtocol {
956
856
 
957
857
  ```
958
858
 
959
-
960
859
  【Objective-C】
961
860
  ``` objectivec
962
861
  @protocol TUIContactControllerListener <NSObject>
@@ -969,9 +868,6 @@ protocol TUIContactControllerListener: NSObjectProtocol {
969
868
 
970
869
  【简约版】
971
870
 
972
-
973
-
974
-
975
871
  【Swift】
976
872
  ``` swift
977
873
  // ContactController 为您自己的 ViewController
@@ -988,14 +884,13 @@ public class ContactsController: UIViewController, TUIPopViewDelegate {
988
884
  }
989
885
  ```
990
886
 
991
-
992
887
  【Objective-C】
993
888
  ``` objectivec
994
889
  #import "TUIContactController_Minimalist.h"
995
890
 
996
891
  // ContactController 为您自己的 ViewController
997
892
  @implementation ContactController
998
- - (void)viewDidLoad {
893
+ - (void)viewDidLoad {
999
894
  // 创建 TUIContactController_Minimalist
1000
895
  TUIContactController_Minimalist *vc = [[TUIContactController_Minimalist alloc] init];
1001
896
  // 把 TUIContactController_Minimalist 添加到自己的 ViewController
@@ -1007,9 +902,6 @@ public class ContactsController: UIViewController, TUIPopViewDelegate {
1007
902
 
1008
903
  注意,上面代码只能将 `TUIContactController_Minimalist` 初始化并展示出来,其中的点击行为(例如点击好友、添加好友等),TUIKit 会通过 `TUIContactControllerListener_Minimalist` 抛给上层处理:
1009
904
 
1010
-
1011
-
1012
-
1013
905
  【Swift】
1014
906
  ``` swift
1015
907
  protocol TUIContactControllerListener_Minimalist: AnyObject {
@@ -1019,7 +911,6 @@ protocol TUIContactControllerListener_Minimalist: AnyObject {
1019
911
  }
1020
912
  ```
1021
913
 
1022
-
1023
914
  【Objective-C】
1024
915
  ``` objectivec
1025
916
  @protocol TUIContactControllerListener_Minimalist <NSObject>
@@ -1032,13 +923,8 @@ protocol TUIContactControllerListener_Minimalist: AnyObject {
1032
923
 
1033
924
  例如,单击好友后,您可以将好友信息页展示出来:
1034
925
 
1035
-
1036
-
1037
926
  【经典版】
1038
927
 
1039
-
1040
-
1041
-
1042
928
  【Swift】
1043
929
  ``` swift
1044
930
  @objc private func onSelectFriend(_ cell: TUICommonContactCell) {
@@ -1052,7 +938,6 @@ protocol TUIContactControllerListener_Minimalist: AnyObject {
1052
938
  }
1053
939
  ```
1054
940
 
1055
-
1056
941
  【Objective-C】
1057
942
  ``` objectivec
1058
943
  #import "TUIFriendProfileController.h"
@@ -1070,9 +955,6 @@ protocol TUIContactControllerListener_Minimalist: AnyObject {
1070
955
 
1071
956
  【简约版】
1072
957
 
1073
-
1074
-
1075
-
1076
958
  【Swift】
1077
959
  ``` swift
1078
960
  @objc func onSelectFriend(_ cell: TUICommonContactCell_Minimalist) {
@@ -1086,7 +968,6 @@ protocol TUIContactControllerListener_Minimalist: AnyObject {
1086
968
  }
1087
969
  ```
1088
970
 
1089
-
1090
971
  【Objective-C】
1091
972
  ``` objectivec
1092
973
  #import "TUIFriendProfileController_Minimalist.h"
@@ -1105,19 +986,9 @@ protocol TUIContactControllerListener_Minimalist: AnyObject {
1105
986
  ### 步骤5:构建音视频通话功能
1106
987
 
1107
988
  TUI 组件支持在聊天界面对用户发起音视频通话,仅需要简单几步就可以快速集成:
1108
- <table>
1109
- <tr>
1110
- <td rowspan="1" colSpan="1" >视频通话</td>
1111
-
1112
- <td rowspan="1" colSpan="1" >语音通话</td>
1113
- </tr>
1114
-
1115
- <tr>
1116
- <td rowspan="1" colSpan="1" ><br>![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100022348635/7b737757cc6e11edb580525400088f3a.jpg)</td>
1117
-
1118
- <td rowspan="1" colSpan="1" ><br>![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100022348635/7b91a71acc6e11edb580525400088f3a.png)</td>
1119
- </tr>
1120
- </table>
989
+ | 视频通话 | 语音通话 |
990
+ | --- | --- |
991
+ | | |
1121
992
 
1122
993
  1. 开通音视频服务。
1123
994
 
@@ -1132,24 +1003,13 @@ TUI 组件支持在聊天界面对用户发起音视频通话,仅需要简单
1132
1003
 
1133
1004
  ``` objectivec
1134
1005
  // 集成音视频通话组件
1135
- pod 'TUICallKit_Swift'
1006
+ pod 'TUICallKit_Swift'
1136
1007
  ```
1137
1008
  6. 发起和接收视频或语音通话。
1138
1009
 
1139
- <table>
1140
- <tr>
1141
- <td rowspan="1" colSpan="1" >消息页发起通话</td>
1142
-
1143
- <td rowspan="1" colSpan="1" >联系人页发起通话</td>
1144
- </tr>
1145
-
1146
- <tr>
1147
- <td rowspan="1" colSpan="1" ><br>![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100022348635/7ba6705ccc6e11edb580525400088f3a.png)</td>
1148
-
1149
- <td rowspan="1" colSpan="1" ><br>![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100022348635/7bbfa40bcc6e11edb580525400088f3a.png)</td>
1150
- </tr>
1151
- </table>
1152
-
1010
+ | 消息页发起通话 | 联系人页发起通话 |
1011
+ | --- | --- |
1012
+ | | |
1153
1013
 
1154
1014
  集成 TUICallKit 组件后,聊天界面和联系人资料界面默认会出现 “视频通话” 和 “语音通话” 两个按钮,当用户点击按钮时,TUIKit 会自动展示通话邀请 UI,并给对方发起通话邀请请求。
1155
1015
 
@@ -1161,13 +1021,12 @@ TUI 组件支持在聊天界面对用户发起音视频通话,仅需要简单
1161
1021
  在使用离线推送之前,您需要开通 [IM 离线推送](https://cloud.tencent.com/document/product/269/75429) 服务。
1162
1022
 
1163
1023
  8. 关于 App 的配置,您可以参见文档:[集成 TUIOfflinePush 跑通离线推送功能](https://cloud.tencent.com/document/product/269/109894)。
1164
-
1165
1024
 
1166
1025
  > **说明:**
1167
- >
1026
+ >
1168
1027
 
1169
1028
  > 配置完成后,当单击接收到的**音视频通话离线推送通知**时, TUICallKit 会自动拉起**音视频通话邀请界面**。
1170
- >
1029
+ >
1171
1030
 
1172
1031
  9. 附加增值能力
1173
1032
  集成 TUIChat 和 TUICallkit 的组件后,在聊天界面发送语音消息时,即可**录制带 AI 降噪和自动增益的语音消息**。该功能需要购买 [音视频通话能力](https://cloud.tencent.com/document/product/1640/79968) 进阶版及以上套餐,仅 IMSDK 7.0 及以上版本支持。当套餐过期后,录制语音消息会切换到系统 API 进行录音。
@@ -1186,40 +1045,22 @@ TUI 组件支持在聊天界面对用户发起音视频通话,仅需要简单
1186
1045
  font-family: 'pingfang SC','helvetica neue',arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif;
1187
1046
  }
1188
1047
  </style>
1189
-
1048
+
1190
1049
  <div class="markdown-text-box">
1191
- <table style="text-align:center;vertical-align:middle;width:800px">
1192
- <tr>
1193
- <th style="text-align:center"><b>系统录制的语音消息<br /></b></th>
1194
- <th style="text-align:center"><b>TUICallkit 录制的带 AI 降噪和自动增益的语音消息<br /></b></th>
1195
- </tr>
1196
- <tr>
1197
- <td>
1198
- <audio id="audio" controls preload="none">
1050
+ | <b>系统录制的语音消息<br></b> | <b>TUICallkit 录制的带 AI 降噪和自动增益的语音消息<br></b> |
1051
+ | --- | --- |
1052
+ | <audio id="audio" controls preload="none">
1199
1053
  <source id="m4a" src="https://im.sdk.cloudcachetci.com/tools/resource/rain_system_record.m4a"></source>
1200
- </audio>
1201
- </td>
1202
-
1203
- <td>
1204
- <audio id="audio" controls preload="none">
1054
+ </audio> | <audio id="audio" controls preload="none">
1205
1055
  <source id="m4a" src="https://im.sdk.cloudcachetci.com/tools/resource/rain_tuicallkit_record_with_agc_aidenoise.m4a"></source>
1206
- </audio>
1207
- </td>
1208
- </tr>
1209
- </table>
1056
+ </audio> |
1210
1057
 
1211
1058
  </div>
1212
1059
 
1213
-
1214
-
1215
-
1216
-
1217
1060
  ### 步骤6:构建多人音视频功能
1218
1061
 
1219
1062
  TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单几步就可以快速集成:
1220
1063
 
1221
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027269567/c5fbe907b0f711ee9fd6525400bb593a.png)
1222
-
1223
1064
  1. 开通音视频服务。
1224
1065
 
1225
1066
  2. 登录 [即时通信 IM 控制台](https://console.cloud.tencent.com/im),单击目标应用卡片,进入应用的基础配置页面。
@@ -1236,12 +1077,8 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
1236
1077
  ```
1237
1078
  6. 发起多人音视频会议
1238
1079
 
1239
-
1240
1080
  集成 TUIRoomKit 组件后,聊天界面默认会出现 “快速会议” 按钮,当用户点击按钮时,TUIKit 会自动发起会议,并在聊天记录中展示一条会议邀请卡片。
1241
1081
 
1242
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027269567/a2bf4380b0fa11eeae9a525400c26da5.jpg)
1243
-
1244
-
1245
1082
  ## 常见问题
1246
1083
 
1247
1084
  #### 1. TUICallKit 和自己集成的音视频库冲突了?
@@ -1250,7 +1087,7 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
1250
1087
  1. 如果您使用了 `TXLiteAVSDK_TRTC` 库,不会发生符号冲突。可直接在 Podfile 文件中添加依赖,
1251
1088
 
1252
1089
  ``` ruby
1253
- pod 'TUICallKit_Swift'
1090
+ pod 'TUICallKit_Swift'
1254
1091
  ```
1255
1092
  2. 如果您使用了 `TXLiteAVSDK_Professional` 库,会产生符号冲突。您可在 Podfile 文件中添加依赖,
1256
1093
 
@@ -1259,7 +1096,6 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
1259
1096
  ```
1260
1097
  3. 如果您使用了 `TXLiteAVSDK_Enterprise` 库,会产生符号冲突。建议升级到 `TXLiteAVSDK_Professional` 后使用 TUICallKit_Swift/Professional。
1261
1098
 
1262
-
1263
1099
  #### 2. 通话邀请的超时时间默认是多久?
1264
1100
 
1265
1101
  通话邀请的默认超时时间是 30 秒。
@@ -1269,23 +1105,18 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
1269
1105
 
1270
1106
  - 如果是群聊通话邀请,被邀请者离线再上线后会自动拉取最近 30 秒内的邀请,TUIKit 会自动唤起群通话界面。
1271
1107
 
1272
-
1273
1108
  #### 4. 上架 Appstore 时打包失败,提示 Unsupported Architectures。
1274
1109
 
1275
1110
  问题现象如下图,打包时提示 ImSDK_Plus.framework 中包含了 Appstore 不支持的 x86_64 模拟器版本。该问题是由于 IMSDK 为了方便开发者调试,发布时会默认带上模拟器版本。
1276
1111
 
1277
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027269567/3ee0a085ec0411eeb5dc525400aa857d.png)
1278
-
1279
1112
  您可以按照下面的步骤,在打包时去掉模拟器版本:
1280
1113
  1. 选中您工程的 Target,并点击 Build Phases 选项,在当前面板中添加 Run Script;
1281
1114
 
1282
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027269567/4b1b2ce5ec0411eea93552540076ba55.png)
1283
-
1284
1115
  2. 在新增的 Run Script 中,添加如下脚本:
1285
1116
 
1286
1117
  ``` bash
1287
1118
  #!/bin/sh
1288
-
1119
+
1289
1120
  # Strip invalid architectures
1290
1121
  strip_invalid_archs() {
1291
1122
  binary="$1"
@@ -1306,9 +1137,9 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
1306
1137
  echo "Stripped $binary of architectures:$stripped"
1307
1138
  fi
1308
1139
  }
1309
-
1140
+
1310
1141
  APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"
1311
-
1142
+
1312
1143
  # This script loops through the frameworks embedded in the application and
1313
1144
  # removes unused architectures.
1314
1145
  find "$APP_PATH" -name '*.framework' -type d | while read -r FRAMEWORK
@@ -1319,23 +1150,15 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
1319
1150
  strip_invalid_archs "$FRAMEWORK_EXECUTABLE_PATH"
1320
1151
  done
1321
1152
  ```
1322
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027269567/6ad039a0ec0411ee94705254001a1c03.png)
1323
-
1324
1153
 
1325
1154
  ## Xcode 集成常见问题
1326
1155
 
1327
1156
  #### 1. [Xcodeproj] Unknown object version (60). (RuntimeError)
1328
1157
 
1329
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027870539/e59d1a43dd2e11eeb419525400ea3514.png)
1330
-
1331
-
1332
1158
  使用 Xcode15 创建新工程来集成 TUIKit 时,输入**pod install** 后,可能会遇到此问题,原因是使用了较旧版本的 CocoaPods ,此时有两种解决办法:
1333
1159
 
1334
1160
  解决方式一: 修改 Xcode 工程的 **Project Format **版本。
1335
1161
 
1336
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027870539/2d589afadd2611eeb419525400ea3514.png)
1337
-
1338
-
1339
1162
  解决方式二: 升级本地的 CocoaPods 版本,升级方式本文不再赘述。
1340
1163
 
1341
1164
  您可以在终端输入 **pod --version** 查看当前的 Pods 版本。
@@ -1344,40 +1167,22 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
1344
1167
 
1345
1168
  Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits"), function operator(), file Layout.cpp,
1346
1169
 
1347
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027870539/5fdb1ededd1811eea20f525400b5f95f.png)
1348
-
1349
-
1350
1170
  或是使用 XCode15 集成 TUIRoom 时,因最新链接器导致 TUIRoomEngine 的符号冲突,都属于该问题。
1351
1171
 
1352
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027870539/0e8212c1dd1911ee9e38525400bb593a.png)
1353
-
1354
-
1355
1172
  解决方式是:修改链接器配置
1356
1173
 
1357
1174
  在 **Build Settings** 中的**Other Linker Flags** 种添加"**-ld64**",即可解决。 参考资料: [https://developer.apple.com/forums/thread/735426](https://links.jianshu.com/go?to=https%3A%2F%2Fdeveloper.apple.com%2Fforums%2Fthread%2F735426)。
1358
1175
 
1359
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027870539/c1cae388dd1911eea20f525400b5f95f.png)
1360
-
1361
-
1362
1176
  #### 3. Rosetta 模拟器问题
1363
1177
 
1364
1178
  使用苹果芯片(m1\m2等系列芯片)时会遇到, 原因是包括 SDWebImage 在内的三方库,并未支持 xcframework,不过苹果依旧给出了适配办法,就是在模拟器上开启 Rosetta 设置, 一般情况下编译时会自动弹出 Rosetta 选项。
1365
1179
 
1366
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027870539/fd5287fadd1911ee9e38525400bb593a.png)
1367
-
1368
-
1369
1180
  #### 4. Xcode 15 开发者沙盒选项问题
1370
1181
 
1371
1182
  Sandbox: bash(xxx) deny(1) file-write-create
1372
1183
 
1373
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027870539/a35a6146e10311eeb419525400ea3514.png)
1374
-
1375
-
1376
1184
  当您使用 Xcode 15 创建一个新工程时, 可能会因为此选项导致编译运行失败,建议您关闭此选项。
1377
1185
 
1378
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027870539/e4e44368dd1c11eea941525400ea3514.png)
1379
-
1380
-
1381
1186
  ### 5. Xcode 16 不支持 Framework 开启 bitcode 问题
1382
1187
 
1383
1188
  **解决方案1:升级 SDK**
@@ -1407,21 +1212,14 @@ end
1407
1212
 
1408
1213
  #### 1. 使用远端集成时,Pod依赖版本不匹配问题
1409
1214
 
1410
- 若您[使用远端 Pods 集成时](https://write.woa.com/document/107052221686493184),出现 **Podfile.lock** 和 插件依赖的 TUICore 版本不一致时,
1215
+ 若您使用远端 Pods 集成时,出现 **Podfile.lock** 和 插件依赖的 TUICore 版本不一致时,
1411
1216
 
1412
1217
  此时请删除 **Podfile.lock** 文件, 并使用 **pod repo update **更新本地代码仓库, 之后使用 **pod update** 重新更新即可。
1413
1218
 
1414
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027870539/ad33aee1e10311ee9ca3525400bb593a.png)
1415
-
1416
-
1417
1219
  #### 2. 使用本地集成时,Pod依赖版本不匹配问题
1418
1220
 
1419
- 若您[使用DevelopPods集成时](https://write.woa.com/document/107052221686493184) 出现 插件依赖的 **TUICore **版本较新,但本地 Pod 依赖的版本号是 **1.0.0** ,
1221
+ 若您使用DevelopPods集成时 出现 插件依赖的 **TUICore **版本较新,但本地 Pod 依赖的版本号是 **1.0.0** ,
1420
1222
 
1421
1223
  此时请您参见 [Podfile_local](https://github.com/TencentCloud/TIMSDK/blob/master/iOS/Demo/Podfile_local) 和 [TUICore.spec](https://github.com/TencentCloud/TIMSDK/blob/master/iOS/TUIKit/TUICore/TUICore.podspec) , 插件需要跟随版本,需要和 TUICore.spec 中一致,正常情况下我们会帮您修改为一致。
1422
1224
 
1423
1225
  第一次使用本地集成时,建议您下载我们的示例 Demo 工程,将 Podfile 文件内容替换为 Podfile_local 的内容,执行 **Pod update **后相互参照。
1424
-
1425
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027870539/b364c1ebe10311ee9ca3525400bb593a.png)
1426
-
1427
-