@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,8 +1,5 @@
1
1
  本文将介绍如何快速接入 TUICallKit 组件。您可以在 10 分钟内完成以下关键步骤,最终获得一个功能完备的音视频通话界面。
2
2
 
3
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100032357901/fc89fc8aafd711f0943c5254007c27c5.png)
4
-
5
-
6
3
  ## 准备工作
7
4
 
8
5
  ### **环境要求**
@@ -12,10 +9,9 @@
12
9
 
13
10
  - **设备需满足**:Android 5.0 及以上的手机设备。
14
11
 
15
-
16
12
  ### **开通服务**
17
13
 
18
- 在使用腾讯云提供的音视频服务前,您需要前往控制台,为应用开通音视频服务。具体步骤参见 [开通服务](https://write.woa.com/document/139743928960860160)。开通服务后,请记录`SDKAppID` 和`SDKSecretKey`,在后续的步骤([登录](https://write.woa.com/#step4))中会用到。
14
+ 在使用腾讯云提供的音视频服务前,您需要前往控制台,为应用开通音视频服务。具体步骤参见 开通服务。开通服务后,请记录`SDKAppID` 和`SDKSecretKey`,在后续的步骤(登录)中会用到。
19
15
 
20
16
  ## 快速接入
21
17
 
@@ -23,23 +19,15 @@
23
19
 
24
20
  在 [GitHub](https://github.com/Tencent-RTC/TUIKit_Android) 中克隆或下载代码,然后将 `TUIKit_Android` 目录下的 `atomic_x` 和 `call` 目录下的 `tuicallkit-kt` 子目录复制到您当前工程的 app 同级目录中,如下图所示。
25
21
 
26
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100032357901/c1c072c9f02c11f0bfd65254001d6acc.png)
27
-
28
-
29
22
  ### 步骤2:工程配置
30
23
  1. 在工程根目录下找到`settings.gradle.kts`(或 `settings.gradle )`文件,增加如下代码,导入`tuicallkit-kt`、`atomic_x` 组件到项目中。
31
24
 
32
-
33
-
34
-
35
-
36
25
  【setting.gradle.kts】
37
26
  ``` java
38
27
  include(":tuicallkit-kt")
39
28
  include(":atomic_x")
40
29
  ```
41
30
 
42
-
43
31
  【settings.gradle】
44
32
  ``` java
45
33
  include ':tuicallkit-kt'
@@ -48,10 +36,6 @@ include ':atomic_x'
48
36
 
49
37
  2. 在 app 目录下找到 `build.gradle.kts(或build.gradle)` 文件,在`dependencies` 中增加如下代码,声明当前 app 对组件的依赖。
50
38
 
51
-
52
-
53
-
54
-
55
39
  【build.gradle.kts】
56
40
  ``` java
57
41
  dependencies {
@@ -59,20 +43,18 @@ dependencies {
59
43
  }
60
44
  ```
61
45
 
62
-
63
46
  【build.gradle】
64
47
  ``` java
65
48
  dependencies {
66
49
  api project(':tuicallkit-kt')
67
50
  }
68
51
  ```
69
-
70
52
 
71
53
  > **说明:**
72
- >
54
+ >
73
55
 
74
56
  > TUICallKit 工程内部已经默认依赖:`TRTC SDK`、`IM SDK`、`tuicallengine` 以及公共库 `tuicore`,不需要开发者单独配置。如需进行版本升级,则修改`tuicallkit-kt/build.gradle`文件中的版本号即可。
75
- >
57
+ >
76
58
 
77
59
  3. 由于 SDK 内部使用了 Java 反射特性,需要将部分类加入不混淆名单。请在 app 目录下的 `proguard-rules.pro` 文件末尾添加如下代码。添加完后,点击右上角的 **Sync Now**,同步代码。
78
60
 
@@ -91,31 +73,21 @@ dependencies {
91
73
  android:largeHeap="true"
92
74
  android:theme="@style/AppTheme"
93
75
  tools:replace="android:allowBackup">
94
- ```
76
+ ```
95
77
 
96
78
  > **说明:**
97
- >
79
+ >
98
80
 
99
81
  > 如果您集成 tuicallkit-kt 后报如下错误:
100
- >
101
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100032357901/650a5745eb9611f0bfd65254001d6acc.png)
102
-
82
+ >
103
83
 
104
84
  > 原因是 AGP 8.0+ 要求 Gradle 运行时使用 Java 17 或更高版本。您可以在 Android Studio 中点击 Tools -> SDK Manager -> Build, Execution,Deployment -> Build Tools -> Gradle 配置 Gradle JDK 版本为 17 解决该问题
105
- >
106
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100032357901/75d5fcddeb9711f09965525400370dda.png)
107
-
108
-
85
+ >
109
86
 
110
87
  ### 步骤3:登录
111
88
 
112
89
  在您的项目中添加如下代码,调用 `login` 方法实现 TUI 组件的登录。这一步骤至关重要,只有在成功登录之后,您才能正常使用 TUICallKit 提供的各项功能。
113
90
 
114
-
115
-
116
-
117
-
118
-
119
91
  【Android(Kotlin)】
120
92
  ``` java
121
93
  import com.tencent.qcloud.tuicore.TUILogin
@@ -125,22 +97,21 @@ import com.tencent.qcloud.tuikit.tuicallkit.debug.GenerateTestUserSig
125
97
  class MainActivity : ComponentActivity() {
126
98
  override fun onCreate(savedInstanceState: Bundle?) {
127
99
  super.onCreate(savedInstanceState)
128
-
100
+
129
101
  val userId = "denny" // 请替换为您的UserId
130
102
  val sdkAppId = 0 // 请替换为在控制台得到的SDKAppID
131
103
  val secretKey = "****" // 请替换为在控制台得到的SecretKey
132
- val userSig = GenerateTestUserSig.genTestUserSig(userId, sdkAppId, secretKey)
104
+ val userSig = GenerateTestUserSig.genTestUserSig(userId, sdkAppId, secretKey)
133
105
  TUILogin.login(this, sdkAppId, userId, userSig, object : TUICallback() {
134
106
  override fun onSuccess() {
135
107
  }
136
108
  override fun onError(errorCode: Int, errorMessage: String) {
137
109
  }
138
- })
110
+ })
139
111
  }
140
112
  }
141
113
  ```
142
114
 
143
-
144
115
  【Android(Java)】
145
116
  ``` java
146
117
  import com.tencent.qcloud.tuicore.TUILogin;
@@ -151,7 +122,7 @@ public class MainActivity extends AppCompatActivity {
151
122
  @Override
152
123
  public void onCreate(Bundle savedInstanceState) {
153
124
  super.onCreate(savedInstanceState);
154
-
125
+
155
126
  String userId = "denny"; // 请替换为您的UserId
156
127
  int sdkAppId = 0; // 请替换为第一步在控制台得到的SDKAppID
157
128
  String secretKey = "****"; // 请替换为第一步在控制台得到的SecretKey
@@ -160,7 +131,7 @@ public class MainActivity extends AppCompatActivity {
160
131
  @Override
161
132
  public void onSuccess() {
162
133
  }
163
-
134
+
164
135
  @Override
165
136
  public void onError(int errorCode, String errorMessage) {
166
137
  }
@@ -169,71 +140,29 @@ public class MainActivity extends AppCompatActivity {
169
140
  }
170
141
 
171
142
  ```
172
- <table>
173
- <tr>
174
- <td rowspan="1" colSpan="1" >参数</td>
175
-
176
- <td rowspan="1" colSpan="1" >类型</td>
177
-
178
- <td rowspan="1" colSpan="1" >说明</td>
179
- </tr>
180
-
181
- <tr>
182
- <td rowspan="1" colSpan="1" >userId</td>
183
-
184
- <td rowspan="1" colSpan="1" >String</td>
185
-
186
- <td rowspan="1" colSpan="1" >只允许包含大小写英文字母(a-z A-Z)、数字(0-9)及下划线和连词符。</td>
187
- </tr>
188
-
189
- <tr>
190
- <td rowspan="1" colSpan="1" >sdkAppId</td>
191
-
192
- <td rowspan="1" colSpan="1" >int</td>
193
-
194
- <td rowspan="1" colSpan="1" >在 [实时音视频 TRTC 控制台](https://console.cloud.tencent.com/trtc) 创建的音视频应用的唯一标识 SDKAppID。</td>
195
- </tr>
196
-
197
- <tr>
198
- <td rowspan="1" colSpan="1" >secretKey</td>
199
-
200
- <td rowspan="1" colSpan="1" >String</td>
201
-
202
- <td rowspan="1" colSpan="1" >在 [实时音视频 TRTC 控制台](https://console.cloud.tencent.com/trtc) 创建的音视频应用的 SDKSecretKey。</td>
203
- </tr>
204
-
205
- <tr>
206
- <td rowspan="1" colSpan="1" >userSig</td>
207
-
208
- <td rowspan="1" colSpan="1" >String</td>
209
-
210
- <td rowspan="1" colSpan="1" >一种安全保护签名,用于对用户进行登录鉴权认证,确认用户是否真实,阻止恶意攻击者盗用您的云服务使用权。</td>
211
- </tr>
212
- </table>
213
-
143
+ | 参数 | 类型 | 说明 |
144
+ | --- | --- | --- |
145
+ | userId | String | 只允许包含大小写英文字母(a-z A-Z)、数字(0-9)及下划线和连词符。 |
146
+ | sdkAppId | int | 在 [实时音视频 TRTC 控制台](https://console.cloud.tencent.com/trtc) 创建的音视频应用的唯一标识 SDKAppID。 |
147
+ | secretKey | String | 在 [实时音视频 TRTC 控制台](https://console.cloud.tencent.com/trtc) 创建的音视频应用的 SDKSecretKey。 |
148
+ | userSig | String | 一种安全保护签名,用于对用户进行登录鉴权认证,确认用户是否真实,阻止恶意攻击者盗用您的云服务使用权。 |
214
149
 
215
150
  > **说明:**
216
- >
151
+ >
217
152
  > - **开发环境**:如果您在本地开发调试阶段,可以采用本地 [GenerateTestUserSig.genTestUserSig](https://github.com/Tencent-RTC/TUIKit_Android/blob/main/application/debug/src/main/java/com/tencent/qcloud/tuikit/debug/GenerateTestUserSig.java) 函数生成 userSig。该方法中 secretKey 很容易被反编译逆向破解,一旦您的密钥泄露,攻击者就可以盗用您的腾讯云流量。
218
- > - **生产环境**:如果您的项目要发布上线,请采用 [服务端生成 UserSig](https://write.woa.com/document/86735811695435776) 的方式。
219
-
153
+ > - **生产环境**:如果您的项目要发布上线,请采用 服务端生成 UserSig 的方式。
220
154
 
221
155
  ### 步骤4:设置昵称和头像[可选]
222
156
 
223
157
  首次登录的用户没有头像和昵称信息,您可以通过 `setSelfInfo` 接口设置头像和昵称:
224
158
 
225
-
226
-
227
-
228
-
229
-
230
159
  【Android(Kotlin)】
231
160
  ``` java
232
161
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit
233
162
 
234
163
  val name = "mike" // 目标用户的昵称。
235
164
  val avatar = "https:/****/user_avatar.png" // 目标用户的头像。
236
- TUICallKit.createInstance(applicationContext).setSelfInfo(name, avatar,
165
+ TUICallKit.createInstance(applicationContext).setSelfInfo(name, avatar,
237
166
  object : CompletionHandler {
238
167
  override fun onSuccess() {
239
168
  // 设置成功
@@ -244,14 +173,13 @@ TUICallKit.createInstance(applicationContext).setSelfInfo(name, avatar,
244
173
  })
245
174
  ```
246
175
 
247
-
248
176
  【Android(Java)】
249
177
  ``` java
250
178
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit;
251
179
 
252
180
  String name = "mike"; // 目标用户的昵称。
253
181
  String avatar = "https:/****/user_avatar.png"; // 目标用户的头像。
254
- TUICallKit.createInstance(applicationContext).setSelfInfo(name, avatar,
182
+ TUICallKit.createInstance(applicationContext).setSelfInfo(name, avatar,
255
183
  new CompletionHandler() {
256
184
  @Override
257
185
  public void onSuccess() {
@@ -264,50 +192,16 @@ TUICallKit.createInstance(applicationContext).setSelfInfo(name, avatar,
264
192
  }
265
193
  });
266
194
  ```
267
- <table>
268
- <tr>
269
- <td rowspan="1" colSpan="1" >参数</td>
270
-
271
- <td rowspan="1" colSpan="1" >类型</td>
272
-
273
- <td rowspan="1" colSpan="1" >说明</td>
274
- </tr>
275
-
276
- <tr>
277
- <td rowspan="1" colSpan="1" >nickname</td>
278
-
279
- <td rowspan="1" colSpan="1" >String</td>
280
-
281
- <td rowspan="1" colSpan="1" >目标用户的昵称。</td>
282
- </tr>
283
-
284
- <tr>
285
- <td rowspan="1" colSpan="1" >avatar</td>
286
-
287
- <td rowspan="1" colSpan="1" >String</td>
288
-
289
- <td rowspan="1" colSpan="1" >目标用户的头像。</td>
290
- </tr>
291
-
292
- <tr>
293
- <td rowspan="1" colSpan="1" >completion</td>
294
-
295
- <td rowspan="1" colSpan="1" >CompletionHandler</td>
296
-
297
- <td rowspan="1" colSpan="1" >异步操作的结果回调。</td>
298
- </tr>
299
- </table>
300
-
195
+ | 参数 | 类型 | 说明 |
196
+ | --- | --- | --- |
197
+ | nickname | String | 目标用户的昵称。 |
198
+ | avatar | String | 目标用户的头像。 |
199
+ | completion | CompletionHandler | 异步操作的结果回调。 |
301
200
 
302
201
  ### 步骤5:发起通话
303
202
 
304
203
  拨打方可以通过调用 `calls` 函数,并指定通话类型和被叫方的 userID,来发起语音或视频通话。`calls` 接口同时支持一对一通话和多人通话。当 userIDList 中包含一个 userID 时,为一对一通话;当 userIDList 包含多个 userID 时,则为多人通话。
305
204
 
306
-
307
-
308
-
309
-
310
-
311
205
  【Kotlin】
312
206
  ``` java
313
207
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit
@@ -328,7 +222,6 @@ TUICallKit.createInstance(context).calls(userIdList, mediaType, params, object :
328
222
  })
329
223
  ```
330
224
 
331
-
332
225
  【Java】
333
226
  ``` java
334
227
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit;
@@ -351,48 +244,12 @@ TUICallKit.createInstance(this).calls(userIdList, mediaType, params, new Complet
351
244
  });
352
245
 
353
246
  ```
354
- <table>
355
- <tr>
356
- <td rowspan="1" colSpan="1" >参数</td>
357
-
358
- <td rowspan="1" colSpan="1" >类型</td>
359
-
360
- <td rowspan="1" colSpan="1" >说明</td>
361
- </tr>
362
-
363
- <tr>
364
- <td rowspan="1" colSpan="1" >userIdList</td>
365
-
366
- <td rowspan="1" colSpan="1" >List<String></td>
367
-
368
- <td rowspan="1" colSpan="1" >目标用户的 userId 列表。</td>
369
- </tr>
370
-
371
- <tr>
372
- <td rowspan="1" colSpan="1" >mediaType</td>
373
-
374
- <td rowspan="1" colSpan="1" >[CallMediaType](https://liteav.sdk.cloudcachetci.com/doc/product/tuikit/atomic-x/android/zh/-atomic-x%20-core%20-a-p-i/io.trtc.tuikit.atomicxcore.api.call/-call-media-type/index.html)</td>
375
-
376
- <td rowspan="1" colSpan="1" >通话的媒体类型,例如视频通话、语音通话。<br>- Audio : 语音通话。<br>- Video : 视频通话。</td>
377
- </tr>
378
-
379
- <tr>
380
- <td rowspan="1" colSpan="1" >params</td>
381
-
382
- <td rowspan="1" colSpan="1" >[CallParams](https://liteav.sdk.cloudcachetci.com/doc/product/tuikit/atomic-x/android/zh/-atomic-x%20-core%20-a-p-i/io.trtc.tuikit.atomicxcore.api.call/-call-params/index.html)</td>
383
-
384
- <td rowspan="1" colSpan="1" >通话扩展参数,例如房间号、通话邀请超时时间等。<br>- roomId : 此次通话的房间 ID。<br>- timeout : 发起通话等待的最长时间,超过该时间通话结束。<br>- userData : 发起通话时自定义扩展字段。<br>- chatGroupId : 与 chat 结合使用,Chat 群组的群 ID 。</td>
385
- </tr>
386
-
387
- <tr>
388
- <td rowspan="1" colSpan="1" >completion</td>
389
-
390
- <td rowspan="1" colSpan="1" >CompletionHandler</td>
391
-
392
- <td rowspan="1" colSpan="1" >异步操作的结果回调。</td>
393
- </tr>
394
- </table>
395
-
247
+ | 参数 | 类型 | 说明 |
248
+ | --- | --- | --- |
249
+ | userIdList | List<String> | 目标用户的 userId 列表。 |
250
+ | mediaType | [CallMediaType](https://liteav.sdk.cloudcachetci.com/doc/product/tuikit/atomic-x/android/zh/-atomic-x%20-core%20-a-p-i/io.trtc.tuikit.atomicxcore.api.call/-call-media-type/index.html) | 通话的媒体类型,例如视频通话、语音通话。<br>- Audio : 语音通话。<br>- Video : 视频通话。 |
251
+ | params | [CallParams](https://liteav.sdk.cloudcachetci.com/doc/product/tuikit/atomic-x/android/zh/-atomic-x%20-core%20-a-p-i/io.trtc.tuikit.atomicxcore.api.call/-call-params/index.html) | 通话扩展参数,例如房间号、通话邀请超时时间等。<br>- roomId : 此次通话的房间 ID。<br>- timeout : 发起通话等待的最长时间,超过该时间通话结束。<br>- userData : 发起通话时自定义扩展字段。<br>- chatGroupId : 与 chat 结合使用,Chat 群组的群 ID 。 |
252
+ | completion | CompletionHandler | 异步操作的结果回调。 |
396
253
 
397
254
  ### 步骤6:接听通话
398
255
 
@@ -404,26 +261,16 @@ TUICallKit.createInstance(this).calls(userIdList, mediaType, params, new Complet
404
261
 
405
262
  您可以通过调用 `enableAITranscriber` 开启/关闭 AI 转录与翻译功能。
406
263
 
407
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027194436/29fb5e7a00f411f198e252540097cba1.png)
408
-
409
-
410
264
  > **注意:**
411
- >
265
+ >
412
266
  > 1. 该功能默认为开启状态(enable = true)。如需关闭,请在发起通话前调用 `enableAITranscriber`(enable: false)。
413
267
  > 2. AI 实时转录与翻译为增值服务。体验版赠送免费额度,可直接体验。如需开通正式版,请在 [实时音视频控制台](https://console.cloud.tencent.com/trtc) 开通套餐包,详见 [计费说明](https://cloud.tencent.com/document/product/647/111976)。
414
268
 
415
-
416
-
417
-
418
-
419
-
420
-
421
269
  【Kotlin】
422
270
  ``` swift
423
271
  TUICallKit.createInstance(context).enableAITranscriber(true)
424
272
  ```
425
273
 
426
-
427
274
  【Java】
428
275
  ``` objectivec
429
276
  TUICallKit.createInstance(context).enableAITranscriber(true);
@@ -435,14 +282,6 @@ TUICallKit.createInstance(context).enableAITranscriber(true);
435
282
 
436
283
  您可以通过调用 `enableFloatWindow` 开启/关闭悬浮窗功能,在初始化 TUICallKit 组件时启用该功能,默认状态为关闭(false)。可通过点击通话界面左上角的悬浮窗按钮,将通话界面缩小为悬浮窗形式。
437
284
 
438
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100032357901/1f41fc38b00011f0a6a2525400e889b2.png)
439
-
440
-
441
-
442
-
443
-
444
-
445
-
446
285
  【Kotlin】
447
286
  ``` java
448
287
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit
@@ -450,7 +289,6 @@ import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit
450
289
  TUICallKit.createInstance(this).enableFloatWindow(true)
451
290
  ```
452
291
 
453
-
454
292
  【Java】
455
293
  ``` java
456
294
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit;
@@ -462,15 +300,7 @@ TUICallKit.createInstance(this).enableFloatWindow(true);
462
300
 
463
301
  ### 开启来电横幅
464
302
 
465
- 您可以通过调用 `enableIncomingBanner` 开启/关闭来电横幅显示,该功能默认为关闭状态(false)。当被叫端收到来电时,默认展示全屏通话等待界面。启用此功能后,将首先显示一个横幅通知,然后根据需要切换到全屏通话界面。请注意,显示来电横幅需要授予悬浮窗权限,具体的显示策略将根据权限设置及应用当前是否在前台或后台运行来决定,具体策略可参考:[被叫端来电显示策略](https://write.woa.com/document/86735803114926080)。
466
-
467
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100032357901/b8f92a1cafff11f0995e525400454e06.png)
468
-
469
-
470
-
471
-
472
-
473
-
303
+ 您可以通过调用 `enableIncomingBanner` 开启/关闭来电横幅显示,该功能默认为关闭状态(false)。当被叫端收到来电时,默认展示全屏通话等待界面。启用此功能后,将首先显示一个横幅通知,然后根据需要切换到全屏通话界面。请注意,显示来电横幅需要授予悬浮窗权限,具体的显示策略将根据权限设置及应用当前是否在前台或后台运行来决定,具体策略可参考:被叫端来电显示策略。
474
304
 
475
305
  【Android(Kotlin)】
476
306
  ``` java
@@ -479,7 +309,6 @@ import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit
479
309
  TUICallKit.createInstance(context).enableIncomingBanner(true)
480
310
  ```
481
311
 
482
-
483
312
  【Android(Java)】
484
313
  ``` java
485
314
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit;
@@ -494,12 +323,6 @@ TUICallKit.createInstance(context).enableIncomingBanner(true);
494
323
  主叫方使用 `calls` 方法发起通话时,若被叫用户列表超过一人,则自动视为群组通话。其他成员可通过 `join` 方法加入该多人通话。
495
324
  - **发起多人通话:**使用 `calls` 方法发起通话时,若被叫用户列表(`userIdList`)超过一人,则自动视为群组通话。
496
325
 
497
-
498
-
499
-
500
-
501
-
502
-
503
326
  【Kotlin】
504
327
  ``` java
505
328
  import com.tencent.cloud.tuikit.engine.call.TUICallDefine
@@ -522,7 +345,6 @@ TUICallKit.createInstance(context).calls(userIdList, mediaType, params, object :
522
345
  })
523
346
  ```
524
347
 
525
-
526
348
  【Java】
527
349
  ``` java
528
350
  import com.tencent.cloud.tuikit.engine.call.TUICallDefine;
@@ -547,57 +369,15 @@ TUICallKit.createInstance(context).calls(userIdList, mediaType, params, new Comp
547
369
  }
548
370
  });
549
371
  ```
550
- <table>
551
- <tr>
552
- <td rowspan="1" colSpan="1" >参数</td>
553
-
554
- <td rowspan="1" colSpan="1" >类型</td>
555
-
556
- <td rowspan="1" colSpan="1" >说明</td>
557
- </tr>
558
-
559
- <tr>
560
- <td rowspan="1" colSpan="1" >userIdList</td>
561
-
562
- <td rowspan="1" colSpan="1" >List<String></td>
563
-
564
- <td rowspan="1" colSpan="1" >目标用户的 userId 列表。</td>
565
- </tr>
566
-
567
- <tr>
568
- <td rowspan="1" colSpan="1" >mediaType</td>
569
-
570
- <td rowspan="1" colSpan="1" >[CallMediaType](https://liteav.sdk.cloudcachetci.com/doc/product/tuikit/atomic-x/android/zh/-atomic-x%20-core%20-a-p-i/io.trtc.tuikit.atomicxcore.api.call/-call-media-type/index.html)</td>
571
-
572
- <td rowspan="1" colSpan="1" >通话的媒体类型,例如视频通话、语音通话。<br>- Audio : 语音通话。<br>- Video : 视频通话。</td>
573
- </tr>
574
-
575
- <tr>
576
- <td rowspan="1" colSpan="1" >params</td>
577
-
578
- <td rowspan="1" colSpan="1" >[CallParams](https://liteav.sdk.cloudcachetci.com/doc/product/tuikit/atomic-x/android/zh/-atomic-x%20-core%20-a-p-i/io.trtc.tuikit.atomicxcore.api.call/-call-params/index.html)</td>
579
-
580
- <td rowspan="1" colSpan="1" >通话扩展参数,例如房间号、通话邀请超时时间等。<br>- roomId : 此次通话的房间 ID。<br>- timeout : 发起通话等待的最长时间,超过该时间通话结束。<br>- userData : 发起通话时自定义扩展字段。<br>- chatGroupId : 与 chat 结合使用,Chat 群组的群 ID 。</td>
581
- </tr>
582
-
583
- <tr>
584
- <td rowspan="1" colSpan="1" >completion</td>
585
-
586
- <td rowspan="1" colSpan="1" >CompletionHandler</td>
587
-
588
- <td rowspan="1" colSpan="1" >异步操作的结果回调。</td>
589
- </tr>
590
- </table>
591
-
372
+ | 参数 | 类型 | 说明 |
373
+ | --- | --- | --- |
374
+ | userIdList | List<String> | 目标用户的 userId 列表。 |
375
+ | mediaType | [CallMediaType](https://liteav.sdk.cloudcachetci.com/doc/product/tuikit/atomic-x/android/zh/-atomic-x%20-core%20-a-p-i/io.trtc.tuikit.atomicxcore.api.call/-call-media-type/index.html) | 通话的媒体类型,例如视频通话、语音通话。<br>- Audio : 语音通话。<br>- Video : 视频通话。 |
376
+ | params | [CallParams](https://liteav.sdk.cloudcachetci.com/doc/product/tuikit/atomic-x/android/zh/-atomic-x%20-core%20-a-p-i/io.trtc.tuikit.atomicxcore.api.call/-call-params/index.html) | 通话扩展参数,例如房间号、通话邀请超时时间等。<br>- roomId : 此次通话的房间 ID。<br>- timeout : 发起通话等待的最长时间,超过该时间通话结束。<br>- userData : 发起通话时自定义扩展字段。<br>- chatGroupId : 与 chat 结合使用,Chat 群组的群 ID 。 |
377
+ | completion | CompletionHandler | 异步操作的结果回调。 |
592
378
 
593
379
  - **加入多人通话:**可使用 `join` 方法加入指定的群组通话。
594
380
 
595
-
596
-
597
-
598
-
599
-
600
-
601
381
  【Kotlin】
602
382
  ``` java
603
383
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit
@@ -613,7 +393,6 @@ TUICallKit.createInstance(this).join(callId, object : CompletionHandler {
613
393
  })
614
394
  ```
615
395
 
616
-
617
396
  【Java】
618
397
  ``` java
619
398
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit;
@@ -631,45 +410,16 @@ TUICallKit.createInstance(this).join(callId, new CompletionHandler() {
631
410
  }
632
411
  });
633
412
  ```
634
- <table>
635
- <tr>
636
- <td rowspan="1" colSpan="1" >参数</td>
637
-
638
- <td rowspan="1" colSpan="1" >类型</td>
639
-
640
- <td rowspan="1" colSpan="1" >说明</td>
641
- </tr>
642
-
643
- <tr>
644
- <td rowspan="1" colSpan="1" >callId</td>
645
-
646
- <td rowspan="1" colSpan="1" >String</td>
647
-
648
- <td rowspan="1" colSpan="1" >此次通话的唯一标识。</td>
649
- </tr>
650
-
651
- <tr>
652
- <td rowspan="1" colSpan="1" >completion</td>
653
-
654
- <td rowspan="1" colSpan="1" >CompletionHandler</td>
655
-
656
- <td rowspan="1" colSpan="1" >异步操作的结果回调。</td>
657
- </tr>
658
- </table>
659
-
660
-
413
+ | 参数 | 类型 | 说明 |
414
+ | --- | --- | --- |
415
+ | callId | String | 此次通话的唯一标识。 |
416
+ | completion | CompletionHandler | 异步操作的结果回调。 |
661
417
 
662
418
  ### 设置语言
663
419
  - **支持的语言:**目前支持**简体中文、繁体中文、英文、日文和阿拉伯语。**
664
420
 
665
421
  - **切换语言:**TUICallKit 默认语言与手机系统保持一致 。如果需要切换语言,可以使用 `TUIThemeManager.getInstance().changeLanguage `方法设置语言,以设置语言为英文的示例代码如下**。**
666
422
 
667
-
668
-
669
-
670
-
671
-
672
-
673
423
  【Kotlin】
674
424
  ``` java
675
425
  import com.tencent.qcloud.tuicore.TUIThemeManager;
@@ -678,14 +428,13 @@ public class MainActivity extends BaseActivity {
678
428
  @Override
679
429
  public void onCreate(Bundle savedInstanceState) {
680
430
  super.onCreate(savedInstanceState)
681
-
431
+
682
432
  val language = TUIThemeManager.LANGUAGE_ZH_CN // 设置的语言
683
433
  TUIThemeManager.getInstance().changeLanguage(applicationContext, language)
684
434
  }
685
435
  }
686
436
  ```
687
437
 
688
-
689
438
  【Java】
690
439
  ``` java
691
440
 
@@ -701,32 +450,14 @@ public class MainActivity extends BaseActivity {
701
450
  }
702
451
 
703
452
  ```
704
- <table>
705
- <tr>
706
- <td rowspan="1" colSpan="1" >参数</td>
707
-
708
- <td rowspan="1" colSpan="1" >类型</td>
709
-
710
- <td rowspan="1" colSpan="1" >说明</td>
711
- </tr>
712
-
713
- <tr>
714
- <td rowspan="1" colSpan="1" >language</td>
715
-
716
- <td rowspan="1" colSpan="1" >String</td>
717
-
718
- <td rowspan="1" colSpan="1" >设置的语言:<br>- TUIThemeManager.LANGUAGE_EN:英文。<br>- TUIThemeManager.LANGUAGE_AR:阿拉伯语。<br>- TUIThemeManager.LANGUAGE_ZH_HK:中文繁体。<br>- TUIThemeManager.LANGUAGE_ZH_CN:中文简体。</td>
719
- </tr>
720
- </table>
721
-
453
+ | 参数 | 类型 | 说明 |
454
+ | --- | --- | --- |
455
+ | language | String | 设置的语言:<br>- TUIThemeManager.LANGUAGE_EN:英文。<br>- TUIThemeManager.LANGUAGE_AR:阿拉伯语。<br>- TUIThemeManager.LANGUAGE_ZH_HK:中文繁体。<br>- TUIThemeManager.LANGUAGE_ZH_CN:中文简体。 |
722
456
 
723
457
  > **说明:**
724
- >
725
-
726
- > 如需设置其他语言,请[联系我们](https://cloud.tencent.com/document/product/647/19906)获取协助。
727
- >
728
-
458
+ >
729
459
 
460
+ >
730
461
 
731
462
  ### 设置铃声
732
463
 
@@ -735,12 +466,6 @@ public class MainActivity extends BaseActivity {
735
466
 
736
467
  - **设置默认铃声(方式2):**通过 [setCallingBell](https://cloud.tencent.com/document/product/647/78750#setCallingBell) 接口设置被叫端收到的来电铃声。
737
468
 
738
-
739
-
740
-
741
-
742
-
743
-
744
469
  【Android(Kotlin)】
745
470
  ``` java
746
471
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit
@@ -749,7 +474,6 @@ val filePath = "***/callingBell.mp3"
749
474
  TUICallKit.createInstance(context).setCallingBell(filePath)
750
475
  ```
751
476
 
752
-
753
477
  【Android(Java)】
754
478
  ``` java
755
479
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit;
@@ -759,33 +483,12 @@ TUICallKit.createInstance(context).setCallingBell(filePath);
759
483
  ```
760
484
 
761
485
  **详情:**这里仅限传入本地文件地址,需要确保该文件目录是应用可以访问的。铃声设置后与设备绑定,更换用户,铃声依旧会生效。如需恢复默认铃声,filePath传空即可。
762
- <table>
763
- <tr>
764
- <td rowspan="1" colSpan="1" >参数</td>
765
-
766
- <td rowspan="1" colSpan="1" >类型</td>
767
-
768
- <td rowspan="1" colSpan="1" >说明</td>
769
- </tr>
770
-
771
- <tr>
772
- <td rowspan="1" colSpan="1" >filePath</td>
773
-
774
- <td rowspan="1" colSpan="1" >String</td>
775
-
776
- <td rowspan="1" colSpan="1" >铃声文件的路径。</td>
777
- </tr>
778
- </table>
779
-
486
+ | 参数 | 类型 | 说明 |
487
+ | --- | --- | --- |
488
+ | filePath | String | 铃声文件的路径。 |
780
489
 
781
490
  - **来电静音模式:**您可以通过 [enableMuteMode](https://cloud.tencent.com/document/product/647/78750#enableMuteMode) 设置静音模式。
782
491
 
783
-
784
-
785
-
786
-
787
-
788
-
789
492
  【Android(Kotlin)】
790
493
  ``` java
791
494
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit
@@ -793,7 +496,6 @@ import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit
793
496
  TUICallKit.createInstance(context).enableMuteMode(true)
794
497
  ```
795
498
 
796
-
797
499
  【Android(Java)】
798
500
  ``` java
799
501
  import com.tencent.qcloud.tuikit.tuicallkit.TUICallKit;
@@ -805,83 +507,24 @@ TUICallKit.createInstance(context).enableMuteMode(true);
805
507
 
806
508
  - **自定义离线推送铃声**:离线推送默认铃声是由系统决定的,可以在 手机设置 中,进入应用详情,查看或更改应用的通知铃声。
807
509
 
808
-
809
510
  ## 自定义您的 UI
810
511
 
811
512
  ### 替换图标按钮
812
513
 
813
514
  您可以直接替换 [res\drawable-xxhdpi](https://github.com/Tencent-RTC/TUIKit_Android/tree/main/atomic_x/src/main/res-callview/drawable-xxhdpi) 文件夹下的图标,以确保整个 App 中的图标色调风格保持一致。以下列出了基本的功能按钮,您可以替换对应的图标以适配自己的业务场景。
814
515
 
815
-
816
-
817
-
818
-
819
-
820
-
821
516
  常用图标文件名列表
822
- <table>
823
- <tr>
824
- <td rowspan="1" colSpan="1" >图标</td>
825
-
826
- <td rowspan="1" colSpan="1" >文件名称</td>
827
-
828
- <td rowspan="1" colSpan="1" >说明</td>
829
- </tr>
830
-
831
- <tr>
832
- <td rowspan="1" colSpan="1" >![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100032357901/ee93f5f6af1311f0b5345254005ef0f7.png)</td>
833
-
834
- <td rowspan="1" colSpan="1" >callview_ic_dialing.png</td>
835
-
836
- <td rowspan="1" colSpan="1" >接听来电图标</td>
837
- </tr>
838
-
839
- <tr>
840
- <td rowspan="1" colSpan="1" ><br>![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100032357901/eeb7bf23af1311f09710525400e889b2.png)</td>
841
-
842
- <td rowspan="1" colSpan="1" >callview_ic_hangup.png</td>
843
-
844
- <td rowspan="1" colSpan="1" >挂断通话图标</td>
845
- </tr>
846
-
847
- <tr>
848
- <td rowspan="1" colSpan="1" ><br>![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100032357901/eeb279f7af1311f09710525400e889b2.png)</td>
849
-
850
- <td rowspan="1" colSpan="1" >callview_ic_mic_unmute.png</td>
851
-
852
- <td rowspan="1" colSpan="1" >关闭麦克风图标</td>
853
- </tr>
854
-
855
- <tr>
856
- <td rowspan="1" colSpan="1" ><br>![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100032357901/eec4442baf1311f0b08552540044a08e.png)</td>
857
-
858
- <td rowspan="1" colSpan="1" >callview_ic_handsfree_disable.png</td>
859
-
860
- <td rowspan="1" colSpan="1" >关闭扬声器图标</td>
861
- </tr>
862
-
863
- <tr>
864
- <td rowspan="1" colSpan="1" ><br>![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100032357901/ee8f4bb6af1311f096c2525400454e06.png)</td>
865
-
866
- <td rowspan="1" colSpan="1" >callview_ic_camera_disable.png</td>
867
-
868
- <td rowspan="1" colSpan="1" >关闭摄像头图标</td>
869
- </tr>
870
-
871
- <tr>
872
- <td rowspan="1" colSpan="1" ><br>![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100032357901/ee8ff7beaf1311f0a0a052540099c741.png)</td>
873
-
874
- <td rowspan="1" colSpan="1" >callview_ic_add_user_black.png</td>
875
-
876
- <td rowspan="1" colSpan="1" >通话过程中邀请用户图标</td>
877
- </tr>
878
- </table>
879
-
517
+ | 图标 | 文件名称 | 说明 |
518
+ | --- | --- | --- |
519
+ | | callview_ic_dialing.png | 接听来电图标 |
520
+ | | callview_ic_hangup.png | 挂断通话图标 |
521
+ | | callview_ic_mic_unmute.png | 关闭麦克风图标 |
522
+ | | callview_ic_handsfree_disable.png | 关闭扬声器图标 |
523
+ | | callview_ic_camera_disable.png | 关闭摄像头图标 |
524
+ | | callview_ic_add_user_black.png | 通话过程中邀请用户图标 |
880
525
 
881
526
  ## 常见问题
882
527
 
883
- 如果您在接入和使用中遇到问题,请参见 [常见问题](https://write.woa.com/document/86735803114926080)。
528
+ 如果您在接入和使用中遇到问题,请参见 常见问题。
884
529
 
885
530
  ## 交流与反馈
886
-
887
- 如果您在使用过程中,有什么建议或者意见,可以 [联系我们](https://cloud.tencent.com/document/product/647/19906),感谢您的反馈。