@tencent-rtc/mcp 1.6.4 → 1.6.5

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 (247) hide show
  1. package/knowledge/chunker.js +83 -54
  2. package/knowledge/path-meta.js +179 -26
  3. package/knowledge/search/exact-lookup.js +153 -0
  4. package/knowledge/search/filter-pool.js +73 -19
  5. package/knowledge/search/product-scope-intent.js +2 -2
  6. package/knowledge/search/requires-framework.js +2 -2
  7. package/knowledge/search/search-knowledge.js +235 -58
  8. package/package.json +1 -1
  9. package/resource/index/manifest.json +1 -1
  10. package/resource/integration/callkit/preset/android/integration.md +2 -4
  11. package/resource/integration/callkit/preset/flutter/integration.md +4 -5
  12. package/resource/integration/callkit/preset/ios/integration.md +1 -4
  13. package/resource/integration/callkit/preset/react/integration.md +13 -20
  14. package/resource/integration/callkit/preset/vue/integration.md +14 -21
  15. package/resource/integration/chat/preset/android/integration.md +6 -9
  16. package/resource/integration/chat/preset/flutter/integration.md +9 -12
  17. package/resource/integration/chat/preset/ios/integration.md +2 -4
  18. package/resource/integration/chat/preset/react/integration.md +0 -10
  19. package/resource/integration/livekit/preset/live/android/live-audience-integration.md +129 -0
  20. package/resource/integration/livekit/preset/live/android/live-host-integration.md +219 -0
  21. package/resource/integration/livekit/preset/live/android/live-list-integration.md +261 -0
  22. package/resource/integration/livekit/preset/live/android/prepare-integration.md +254 -0
  23. package/resource/integration/livekit/preset/live/ios/live-audience-integration.md +202 -0
  24. package/resource/integration/livekit/preset/live/ios/live-host-integration.md +369 -0
  25. package/resource/integration/livekit/preset/live/ios/live-list-integration.md +229 -0
  26. package/resource/integration/livekit/preset/live/ios/prepare-integration.md +204 -0
  27. package/resource/integration/livekit/preset/live/vue/live-list-integration.md +0 -3
  28. package/resource/integration/livekit/preset/live/vue/live-player-desk-integration.md +0 -5
  29. package/resource/integration/livekit/preset/live/vue/live-player-h5-integration.md +0 -6
  30. package/resource/integration/livekit/preset/live/vue/live-pusher-integration.md +5 -10
  31. package/resource/integration/roomkit/preset/vue/integration.md +0 -4
  32. package/resource/knowledge/callkit/best-practice/web/callengine-invitation.md +80 -0
  33. package/resource/knowledge/callkit/best-practice/web/callengine-log-control.md +24 -0
  34. package/resource/knowledge/callkit/best-practice/web/callkit-call-vs-calls.md +116 -0
  35. package/resource/knowledge/callkit/core-sdk/android/answer-call.md +7 -8
  36. package/resource/knowledge/callkit/core-sdk/android/make-call.md +5 -7
  37. package/resource/knowledge/callkit/core-sdk/android/offline-push.md +3 -5
  38. package/resource/knowledge/callkit/core-sdk/flutter/answer-call.md +2 -6
  39. package/resource/knowledge/callkit/core-sdk/flutter/make-call.md +2 -6
  40. package/resource/knowledge/callkit/core-sdk/flutter/offline-push.md +4 -9
  41. package/resource/knowledge/callkit/core-sdk/ios/answer-call.md +1 -4
  42. package/resource/knowledge/callkit/core-sdk/ios/make-call.md +8 -11
  43. package/resource/knowledge/callkit/core-sdk/ios/offline-push.md +17 -23
  44. package/resource/knowledge/callkit/core-sdk/web/call-engine.md +33 -0
  45. package/resource/knowledge/callkit/core-sdk/web/call-event.md +327 -0
  46. package/resource/knowledge/callkit/core-sdk/web/callengine-api-overview.md +33 -0
  47. package/resource/knowledge/callkit/faq/android.md +0 -2
  48. package/resource/knowledge/callkit/faq/error-code.md +0 -2
  49. package/resource/knowledge/callkit/faq/flutter.md +2 -2
  50. package/resource/knowledge/callkit/faq/ios.md +3 -5
  51. package/resource/knowledge/callkit/faq/web.md +2 -3
  52. package/resource/knowledge/callkit/preset/android/api.md +2 -5
  53. package/resource/knowledge/callkit/preset/ios/api.md +0 -2
  54. package/resource/knowledge/callkit/preset/react/api.md +445 -0
  55. package/resource/knowledge/callkit/preset/react/uikit-api-reference.md +445 -0
  56. package/resource/knowledge/callkit/preset/vue/api.md +465 -0
  57. package/resource/knowledge/callkit/preset/vue/uikit-api-reference.md +465 -0
  58. package/resource/knowledge/chat/best-practice/web/image-message-url-handling.md +16 -0
  59. package/resource/knowledge/chat/preset/android/features/chat-setting.md +1 -1
  60. package/resource/knowledge/chat/preset/android/features/conversation-list.md +1 -1
  61. package/resource/knowledge/chat/preset/android/features/language.md +0 -1
  62. package/resource/knowledge/chat/preset/android/features/message-input.md +1 -1
  63. package/resource/knowledge/chat/preset/android/features/message-list.md +2 -3
  64. package/resource/knowledge/chat/preset/android/features/search.md +0 -1
  65. package/resource/knowledge/chat/preset/android/features/theme.md +1 -1
  66. package/resource/knowledge/chat/preset/android-view/integration.md +3 -11
  67. package/resource/knowledge/chat/preset/flutter/features/conversation-list.md +0 -1
  68. package/resource/knowledge/chat/preset/flutter/features/message-list.md +1 -2
  69. package/resource/knowledge/chat/preset/flutter/features/search.md +5 -6
  70. package/resource/knowledge/chat/preset/flutter/features/theme.md +2 -2
  71. package/resource/knowledge/chat/preset/ios/features/chat-setting.md +1 -1
  72. package/resource/knowledge/chat/preset/ios/features/conversation-list.md +1 -2
  73. package/resource/knowledge/chat/preset/ios/features/message-list.md +1 -2
  74. package/resource/knowledge/chat/preset/ios/features/search.md +0 -1
  75. package/resource/knowledge/chat/preset/ios-uikit/integration.md +13 -15
  76. package/resource/knowledge/chat/preset/react/features/conversation-list.md +5 -5
  77. package/resource/knowledge/chat/preset/react/features/message-input.md +2 -3
  78. package/resource/knowledge/chat/preset/react/features/search.md +0 -1
  79. package/resource/knowledge/chat/preset/react/features/theme.md +0 -1
  80. package/resource/knowledge/livekit/core-sdk/api-reference/android/AudioEffectStore.md +7 -14
  81. package/resource/knowledge/livekit/core-sdk/api-reference/android/BarrageStore.md +5 -8
  82. package/resource/knowledge/livekit/core-sdk/api-reference/android/BattleStore.md +15 -18
  83. package/resource/knowledge/livekit/core-sdk/api-reference/android/CameraView.md +1 -2
  84. package/resource/knowledge/livekit/core-sdk/api-reference/android/CoGuestStore.md +15 -20
  85. package/resource/knowledge/livekit/core-sdk/api-reference/android/CoHostStore.md +10 -13
  86. package/resource/knowledge/livekit/core-sdk/api-reference/android/DeviceStore.md +2 -4
  87. package/resource/knowledge/livekit/core-sdk/api-reference/android/GiftStore.md +4 -6
  88. package/resource/knowledge/livekit/core-sdk/api-reference/android/LikeStore.md +2 -4
  89. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveAudienceStore.md +2 -4
  90. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveCoreView.md +1 -2
  91. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveSeatStore.md +8 -10
  92. package/resource/knowledge/livekit/core-sdk/api-reference/android/LoginStore.md +5 -7
  93. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/AudioEffectStore.md +7 -14
  94. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BarrageStore.md +6 -9
  95. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BaseBeautyStore.md +1 -2
  96. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BattleStore.md +15 -18
  97. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoGuestStore.md +15 -20
  98. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoHostStore.md +10 -13
  99. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/DeviceStore.md +2 -4
  100. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/GiftStore.md +4 -6
  101. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LikeStore.md +2 -4
  102. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveAudienceStore.md +2 -4
  103. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveCoreView.md +1 -2
  104. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveSeatStore.md +8 -10
  105. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LoginStore.md +3 -5
  106. package/resource/knowledge/livekit/core-sdk/api-reference/ios/AudioEffectStore.md +7 -14
  107. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BarrageStore.md +5 -8
  108. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BaseBeautyStore.md +1 -2
  109. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BattleStore.md +6 -9
  110. package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoGuestStore.md +5 -10
  111. package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoHostStore.md +3 -6
  112. package/resource/knowledge/livekit/core-sdk/api-reference/ios/DeviceStore.md +2 -4
  113. package/resource/knowledge/livekit/core-sdk/api-reference/ios/GiftStore.md +4 -6
  114. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LikeStore.md +2 -4
  115. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveAudienceStore.md +2 -4
  116. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveCoreView.md +1 -2
  117. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveSeatStore.md +4 -6
  118. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LoginStore.md +3 -5
  119. package/resource/knowledge/livekit/core-sdk/api-reference/{web → vue}/index.md +24 -24
  120. package/resource/knowledge/livekit/core-sdk/{voice/android/voice-audio-effect.md → features/android/audio-effect.md} +1 -2
  121. package/resource/knowledge/livekit/core-sdk/{live/android/live-gift.md → features/android/gift.md} +2 -3
  122. package/resource/knowledge/livekit/core-sdk/{voice/android/voice-room-list.md → features/android/live-list.md} +2 -4
  123. package/resource/knowledge/livekit/core-sdk/{live/flutter/live-audio-effect.md → features/flutter/audio-effect.md} +0 -2
  124. package/resource/knowledge/livekit/core-sdk/{voice/flutter/voice-barrage.md → features/flutter/barrage.md} +2 -2
  125. package/resource/knowledge/livekit/core-sdk/{live/flutter/live-gift.md → features/flutter/gift.md} +2 -3
  126. package/resource/knowledge/livekit/core-sdk/{voice/flutter/voice-room-list.md → features/flutter/live-list.md} +1 -1
  127. package/resource/knowledge/livekit/core-sdk/{voice/ios/voice-audience-list.md → features/ios/audience-list.md} +1 -2
  128. package/resource/knowledge/livekit/core-sdk/{voice/ios/voice-audio-effect.md → features/ios/audio-effect.md} +1 -3
  129. package/resource/knowledge/livekit/core-sdk/{live/ios/live-base-beauty.md → features/ios/base-beauty.md} +2 -2
  130. package/resource/knowledge/livekit/core-sdk/{voice/ios/voice-gift.md → features/ios/gift.md} +2 -3
  131. package/resource/knowledge/livekit/core-sdk/{voice/ios/voice-room-list.md → features/ios/live-list.md} +2 -4
  132. package/resource/knowledge/livekit/core-sdk/live/android/{live-co-guest-interaction.md → co-guest-interaction.md} +0 -1
  133. package/resource/knowledge/livekit/core-sdk/live/android/{live-host-interaction.md → host-interaction.md} +5 -7
  134. package/resource/knowledge/livekit/core-sdk/live/android/{live-integration.md → integration.md} +3 -6
  135. package/resource/knowledge/livekit/core-sdk/live/flutter/{live-co-guest-interaction.md → co-guest-interaction.md} +1 -1
  136. package/resource/knowledge/livekit/core-sdk/live/flutter/{live-host-interaction.md → host-interaction.md} +0 -2
  137. package/resource/knowledge/livekit/core-sdk/live/flutter/{live-integration.md → integration.md} +1 -4
  138. package/resource/knowledge/livekit/core-sdk/live/ios/{live-co-guest-interaction.md → co-guest-interaction.md} +0 -1
  139. package/resource/knowledge/livekit/core-sdk/live/ios/{live-host-interaction.md → host-interaction.md} +2 -4
  140. package/resource/knowledge/livekit/core-sdk/live/ios/{live-integration.md → integration.md} +2 -5
  141. package/resource/knowledge/livekit/core-sdk/voice/android/{voice-host-interaction.md → host-interaction.md} +3 -5
  142. package/resource/knowledge/livekit/core-sdk/voice/android/{voice-integration.md → integration.md} +3 -6
  143. package/resource/knowledge/livekit/core-sdk/voice/flutter/{voice-co-guest-interaction.md → co-guest-interaction.md} +1 -2
  144. package/resource/knowledge/livekit/core-sdk/voice/flutter/{voice-integration.md → integration.md} +6 -9
  145. package/resource/knowledge/livekit/core-sdk/voice/ios/{voice-co-guest-interaction.md → co-guest-interaction.md} +2 -2
  146. package/resource/knowledge/livekit/core-sdk/voice/ios/{voice-host-interaction.md → host-interaction.md} +4 -6
  147. package/resource/knowledge/livekit/core-sdk/voice/ios/{voice-integration.md → integration.md} +1 -4
  148. package/resource/knowledge/livekit/preset/live/vue/features/barrage.md +0 -2
  149. package/resource/knowledge/push/api-reference/android.md +123 -0
  150. package/resource/knowledge/push/api-reference/flutter.md +176 -0
  151. package/resource/knowledge/push/api-reference/harmonyos.md +138 -0
  152. package/resource/knowledge/push/api-reference/ios.md +176 -0
  153. package/resource/knowledge/push/api-reference/react-native.md +147 -0
  154. package/resource/knowledge/push/api-reference/uni-app.md +147 -0
  155. package/resource/knowledge/push/api-reference/unity.md +119 -0
  156. package/resource/knowledge/push/api-reference/unreal-engine.md +123 -0
  157. package/resource/knowledge/push/config/android.md +4 -7
  158. package/resource/knowledge/push/config/harmonyos.md +0 -3
  159. package/resource/knowledge/push/config/ios.md +12 -20
  160. package/resource/knowledge/push/config/react-native.md +18 -26
  161. package/resource/knowledge/push/config/unity.md +20 -28
  162. package/resource/knowledge/push/config/unreal-engine.md +21 -29
  163. package/resource/knowledge/push/integration/android.md +6 -8
  164. package/resource/knowledge/push/integration/flutter.md +6 -9
  165. package/resource/knowledge/push/integration/harmonyos.md +1 -0
  166. package/resource/knowledge/push/integration/ios.md +7 -9
  167. package/resource/knowledge/push/integration/react-native.md +9 -13
  168. package/resource/knowledge/push/integration/uni-app.md +7 -7
  169. package/resource/knowledge/push/integration/unity.md +10 -13
  170. package/resource/knowledge/push/integration/unreal-engine.md +6 -9
  171. package/resource/knowledge/push/overview/prepare.md +2 -2
  172. package/resource/knowledge/roomkit/core-sdk/android/call-user-to-room.md +3 -3
  173. package/resource/knowledge/roomkit/core-sdk/android/capability-matrix.md +46 -0
  174. package/resource/knowledge/roomkit/core-sdk/android/room-participant-state.md +1 -1
  175. package/resource/knowledge/roomkit/core-sdk/android/room-state.md +2 -2
  176. package/resource/knowledge/roomkit/core-sdk/android/schedule-room.md +6 -6
  177. package/resource/knowledge/roomkit/core-sdk/android/unsupported-features.md +79 -0
  178. package/resource/knowledge/roomkit/core-sdk/flutter/capability-matrix.md +46 -0
  179. package/resource/knowledge/roomkit/core-sdk/flutter/room-participant-state.md +1 -1
  180. package/resource/knowledge/roomkit/core-sdk/flutter/unsupported-features.md +79 -0
  181. package/resource/knowledge/roomkit/core-sdk/ios/capability-matrix.md +46 -0
  182. package/resource/knowledge/roomkit/core-sdk/ios/room-participant-state.md +1 -1
  183. package/resource/knowledge/roomkit/core-sdk/ios/unsupported-features.md +79 -0
  184. package/resource/knowledge/roomkit/preset/android/integration.md +5 -7
  185. package/resource/knowledge/roomkit/preset/flutter/integration.md +2 -7
  186. package/resource/knowledge/roomkit/preset/ios/integration.md +3 -9
  187. package/resource/knowledge/roomkit/preset/react/integration.md +12 -16
  188. package/resource/knowledge/trtc/android/TRTCCloud.md +154 -238
  189. package/resource/knowledge/trtc/android/TRTCCloudDef.md +133 -134
  190. package/resource/knowledge/trtc/android/TRTCCloudListener.md +86 -120
  191. package/resource/knowledge/trtc/android/TRTCStatistics.md +10 -10
  192. package/resource/knowledge/trtc/android/TXAudioEffectManager.md +10 -30
  193. package/resource/knowledge/trtc/android/TXBeautyManager.md +25 -25
  194. package/resource/knowledge/trtc/android/TXDeviceManager.md +2 -2
  195. package/resource/knowledge/trtc/android/TXLiteAVCode.md +12 -12
  196. package/resource/knowledge/trtc/c++/ITRTCCloud.md +166 -261
  197. package/resource/knowledge/trtc/c++/ITRTCStatistics.md +12 -12
  198. package/resource/knowledge/trtc/c++/ITXAudioEffectManager.md +10 -30
  199. package/resource/knowledge/trtc/c++/ITXDeviceManager.md +9 -11
  200. package/resource/knowledge/trtc/c++/TRTCCloudCallback.md +96 -130
  201. package/resource/knowledge/trtc/c++/TRTCTypeDef.md +122 -123
  202. package/resource/knowledge/trtc/c++/TXLiteAVCode.md +12 -12
  203. package/resource/knowledge/trtc/ios/TRTCCloud.md +168 -255
  204. package/resource/knowledge/trtc/ios/TRTCCloudDef.md +124 -125
  205. package/resource/knowledge/trtc/ios/TRTCCloudDelegate.md +89 -124
  206. package/resource/knowledge/trtc/ios/TRTCStatistics.md +10 -10
  207. package/resource/knowledge/trtc/ios/TXAudioEffectManager.md +9 -28
  208. package/resource/knowledge/trtc/ios/TXBeautyManager.md +25 -25
  209. package/resource/knowledge/trtc/ios/TXDeviceManager.md +9 -11
  210. package/resource/knowledge/trtc/ios/TXLiteAVCode.md +12 -12
  211. package/server.js +21 -21
  212. package/tools/common/finalize_answer.js +1 -1
  213. package/tools/common/present_framework_choice.js +2 -2
  214. package/tools/common/search_trtc_knowledge.js +3 -3
  215. package/tools/common/submit_feedback.js +1 -1
  216. package/tools/definitions/get_native_live_uikit_integration_def.js +61 -0
  217. package/tools/definitions/get_native_livekit_core_integration_def.js +3 -3
  218. package/tools/definitions/present_framework_choice_def.js +2 -2
  219. package/tools/definitions/search_trtc_knowledge_def.js +5 -5
  220. package/tools/index.js +2 -0
  221. package/tools/live/get_native_live_uikit_integration.js +69 -0
  222. package/tools/live/get_native_livekit_core_integration.js +6 -6
  223. package/utils/report-cls-client.js +1 -1
  224. package/utils/report-es-client.js +1 -1
  225. package/resource/knowledge/callkit/preset/web/api.md +0 -83
  226. package/resource/knowledge/livekit/core-sdk/live/android/live-audio-effect.md +0 -226
  227. package/resource/knowledge/livekit/core-sdk/live/android/live-live-list.md +0 -438
  228. package/resource/knowledge/livekit/core-sdk/live/flutter/live-barrage.md +0 -490
  229. package/resource/knowledge/livekit/core-sdk/live/flutter/live-live-list.md +0 -726
  230. package/resource/knowledge/livekit/core-sdk/live/ios/live-audience-list.md +0 -264
  231. package/resource/knowledge/livekit/core-sdk/live/ios/live-audio-effect.md +0 -216
  232. package/resource/knowledge/livekit/core-sdk/live/ios/live-gift.md +0 -407
  233. package/resource/knowledge/livekit/core-sdk/live/ios/live-live-list.md +0 -349
  234. package/resource/knowledge/livekit/core-sdk/voice/android/voice-audience-list.md +0 -269
  235. package/resource/knowledge/livekit/core-sdk/voice/android/voice-barrage.md +0 -456
  236. package/resource/knowledge/livekit/core-sdk/voice/android/voice-gift.md +0 -455
  237. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audience-list.md +0 -260
  238. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audio-effect.md +0 -598
  239. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-gift.md +0 -424
  240. package/resource/knowledge/livekit/core-sdk/voice/ios/voice-barrage.md +0 -408
  241. /package/resource/knowledge/livekit/core-sdk/{live/android/live-audience-list.md → features/android/audience-list.md} +0 -0
  242. /package/resource/knowledge/livekit/core-sdk/{live/android/live-barrage.md → features/android/barrage.md} +0 -0
  243. /package/resource/knowledge/livekit/core-sdk/{live/android/live-base-beauty.md → features/android/base-beauty.md} +0 -0
  244. /package/resource/knowledge/livekit/core-sdk/{live/flutter/live-audience-list.md → features/flutter/audience-list.md} +0 -0
  245. /package/resource/knowledge/livekit/core-sdk/{live/flutter/live-base-beauty.md → features/flutter/base-beauty.md} +0 -0
  246. /package/resource/knowledge/livekit/core-sdk/{live/ios/live-barrage.md → features/ios/barrage.md} +0 -0
  247. /package/resource/knowledge/livekit/core-sdk/voice/android/{voice-co-guest-interaction.md → co-guest-interaction.md} +0 -0
@@ -0,0 +1,147 @@
1
+ ## API Overview
2
+ | API | Description |
3
+ | --- | --- |
4
+ | <code>registerPush</code> | Register for push service (must be called after the App user agrees to the Privacy Policy to use the push service). |
5
+ | <code>unRegisterPush</code> | Unregister to disable push service. |
6
+ | <code>setRegistrationID</code> | Set Push Device ID.<br>- RegistrationID is the unique identification ID of the push receiving device. By default, this ID is automatically generated when the push service is successfully registered, but you can also set it manually. <strong>Note! If you call this API, make sure to call it before</strong> <code>registerPush</code><strong>.</strong><br>- Use cases:<br>If you have integrated both the Chat message service and the Push service on a device, and the user login Chat userID is assumed to be "user123", if you want to push messages to "user123", you need to call this interface to set the device identification ID as follows:<br><code>Push.setRegistrationID("user123", () => {});</code> |
7
+ | <code>getRegistrationID</code> | After successfully registering the push service, you can call this interface to obtain the unique identification ID of the push receiving device, which is the RegistrationID. |
8
+ | <code>getNotificationExtInfo</code> | Upon receiving offline push notifications, click the notification bar to pull up the App, and call this interface to get the push extension information. |
9
+ | <code>addPushListener</code> | Add a Push listener. |
10
+ | <code>removePushListener</code> | Remove a Push listener. |
11
+ | <code>disablePostNotificationInForeground</code> | When the app is in the foreground, turn on/off notification bar notifications (default is on). |
12
+ | <code>createNotificationChannel</code> | Create a client notification channel. This API can implement custom ringtone feature on the Android platform. |
13
+
14
+ ## Interface details
15
+
16
+ ### Registering Push Service
17
+
18
+ #### API
19
+ ``` javascript
20
+ registerPush(SDKAppID, appKey, onSuccess, onError)
21
+ ```
22
+
23
+ #### Parameter description:
24
+ | Parameters | Type | Description | Access Path |
25
+ | --- | --- | --- | --- |
26
+ | SDKAppID | Number | SDKAppID for Push Service Push. | <a href="https://console.trtc.io/chat/push-plugin-push-identifier">Chat Console</a> |
27
+ | appKey | String | Client key for Push Service Push. | |
28
+ | onSuccess | Function | Callback for successful push registration. | - |
29
+ | onError | Function |undefined | Callback for failed push registration. | - |
30
+
31
+ ### Unregister to disable push service
32
+
33
+ #### API
34
+ ``` javascript
35
+ unRegisterPush(onSuccess, onError)
36
+ ```
37
+
38
+ #### Parameter description:
39
+
40
+ |Parameters|Type|Description|
41
+ |---------|---------|---------|
42
+ |onSuccess|Function|Callback for successful push unregistration.|
43
+ |onError|Function |undefined|Callback for failed push unregistration.|
44
+
45
+ ### Set push ID identifier RegistrationID
46
+
47
+ > **Note:**
48
+ >
49
+ > 1. If you call this API, make sure to call it before `registerPush`.
50
+
51
+ #### API
52
+ ``` javascript
53
+ setRegistrationID(registrationID, onSuccess)
54
+ ```
55
+
56
+ #### Parameter description:
57
+
58
+ |Parameters|Type|Description|
59
+ |---------|---------|---------|
60
+ |registrationID|String|Customized push ID identifier.|
61
+ |onSuccess|Function|Callback after successfully setting the customized push ID identifier.|
62
+
63
+ ### Get push ID identifier RegistrationID
64
+
65
+ > **Note:**
66
+ >
67
+ > 1. If you have called the `setRegistrationID` interface to set the identifier ID, this interface will return the identifier ID you set, otherwise, it will return a random value generated by the Push SDK.
68
+
69
+ #### API
70
+ ``` javascript
71
+ getRegistrationID(onSuccess)
72
+ ```
73
+
74
+ #### Parameter description:
75
+
76
+ |Parameters|Type|Description|
77
+ |---------|---------|---------|
78
+ |onSuccess|Function|Callback for successfully obtaining the push ID.|
79
+
80
+ ### Getting Push Extension Information
81
+
82
+ #### API
83
+ ``` javascript
84
+ getNotificationExtInfo(onSuccess)
85
+ ```
86
+
87
+ #### Parameter description:
88
+
89
+ |Parameters|Type|Description|
90
+ |---------|---------|---------|
91
+ |onSuccess|Function|Callback for successfully getting the clicked pass-through content.|
92
+
93
+ ### Adding a Push Listener
94
+
95
+ #### API
96
+ ``` javascript
97
+ addPushListener(eventName: string, listener: (data: any) => void);
98
+ ```
99
+
100
+ #### Parameter description:
101
+
102
+ |Parameters|Type|Description|
103
+ |---------|---------|---------|
104
+ |eventName|String|Push Event Type.|
105
+ |listener|Function|Push Event Handling Method.|
106
+
107
+ ### Removing a Push Listener
108
+
109
+ #### API
110
+ ``` javascript
111
+ removePushListener(eventName: string, listener?: (data: any) => void);
112
+ ```
113
+
114
+ #### Parameter description:
115
+
116
+ |Parameters|Type|Description|
117
+ |---------|---------|---------|
118
+ |eventName|String|Push Event Type.|
119
+ |listener|Function \| undefined|Push Event Handling Method.|
120
+
121
+ ### Turning On/Off Notification Bar Notifications When the App is in the Foreground
122
+
123
+ #### API
124
+ ``` javascript
125
+ disablePostNotificationInForeground(disable: boolean);
126
+ ```
127
+
128
+ #### Parameter description:
129
+ | Parameters | Type | Description |
130
+ | --- | --- | --- |
131
+ | disable | boolean | Turning On/Off Notification Bar Notifications When the App is in the Foreground, Default On:<br>- true: Turning off notification bar notifications when the app is in the foreground<br>- false: Turning on notification bar notifications when the app is in the foreground |
132
+
133
+ ### Creating a Client Notification Channel
134
+
135
+ #### API
136
+ ``` javascript
137
+ createNotificationChannel(options: any, onSuccess: (data: any) => void);
138
+ ```
139
+
140
+ #### Parameter description:
141
+ | Parameters | Type | Description |
142
+ | --- | --- | --- |
143
+ | options.channelID | String | The ID of the custom channel.<br>OPPO: The channelID in <a href="https://console.trtc.io/chat/push-plugin-push-identifier">Console -> Access Configuration</a>. |
144
+ | options.channelName | String | The name of the custom channel. |
145
+ | options.channelDesc | String \\| undefined | The description of the custom channel. |
146
+ | options.channelSound | String \\| undefined | The alert tone of the custom channel, audio file name without suffix. The audio file needs to be placed in <code>MyReactNativeApp/android/app/src/main/res/raw</code>.<br>For example:<br><code>options.channelSound = private_ring</code>, which sets <code>MyReactNativeApp/android/app/src/main/res/raw/private_ring.mp3</code> as the custom alert tone. |
147
+ | onSuccess | Function | Callback function for successful API invocation. |
@@ -0,0 +1,147 @@
1
+ ## API Overview
2
+ | API | Description |
3
+ | --- | --- |
4
+ | <code>registerPush</code> | Register for push service (must be called after the App user agrees to the Privacy Policy to use the push service). |
5
+ | <code>unRegisterPush</code> | Unregister to disable push service. |
6
+ | <code>setRegistrationID</code> | Set Push Device ID.<br>- RegistrationID is the unique identification ID of the push receiving device. By default, this ID is automatically generated when the push service is successfully registered, but you can also set it manually. <strong>Note! If you call this API, make sure to call it before</strong> <code>registerPush</code><strong>.</strong><br>- Use cases:<br>If you have integrated both the Chat message service and the Push service on a device, and the user login Chat userID is assumed to be "user123", if you want to push messages to "user123", you need to call this interface to set the device identification ID as follows:<br><code>Push.setRegistrationID("user123", () => {});</code> |
7
+ | <code>getRegistrationID</code> | After successfully registering the push service, you can call this interface to obtain the unique identification ID of the push receiving device, which is the RegistrationID. |
8
+ | <code>getNotificationExtInfo</code> | Upon receiving offline push notifications, click the notification bar to pull up the App, and call this interface to get the push extension information. |
9
+ | <code>addPushListener</code> | Add a Push listener. |
10
+ | <code>removePushListener</code> | Remove a Push listener. |
11
+ | <code>disablePostNotificationInForeground</code> | When the app is in the foreground, turn on/off notification bar notifications (default is on). |
12
+ | <code>createNotificationChannel</code> | Create a client notification channel. This API can implement custom ringtone feature on the Android platform. |
13
+
14
+ ## Interface details
15
+
16
+ ### Registering Push Service
17
+
18
+ #### API
19
+ ``` javascript
20
+ registerPush(SDKAppID, appKey, onSuccess, onError)
21
+ ```
22
+
23
+ #### Parameter description:
24
+ | Parameters | Type | Description | Access Path |
25
+ | --- | --- | --- | --- |
26
+ | SDKAppID | Number | SDKAppID for Push Service Push. | <a href="https://console.trtc.io/chat/push-plugin-push-identifier">Chat Console</a> |
27
+ | appKey | String | Client key for Push Service Push. | |
28
+ | onSuccess | Function | Callback for successful push registration. | - |
29
+ | onError | Function |undefined | Callback for failed push registration. | - |
30
+
31
+ ### Unregister to disable push service
32
+
33
+ #### API
34
+ ``` javascript
35
+ unRegisterPush(onSuccess, onError)
36
+ ```
37
+
38
+ #### Parameter description:
39
+
40
+ |Parameters|Type|Description|
41
+ |---------|---------|---------|
42
+ |onSuccess|Function|Callback for successful push unregistration.|
43
+ |onError|Function |undefined|Callback for failed push unregistration.|
44
+
45
+ ### Set push ID identifier RegistrationID
46
+
47
+ > **Note:**
48
+ >
49
+ > 1. If you call this API, make sure to call it before `registerPush`.
50
+
51
+ #### API
52
+ ``` javascript
53
+ setRegistrationID(registrationID, onSuccess)
54
+ ```
55
+
56
+ #### Parameter description:
57
+
58
+ |Parameters|Type|Description|
59
+ |---------|---------|---------|
60
+ |registrationID|String|Customized push ID identifier.|
61
+ |onSuccess|Function|Callback after successfully setting the customized push ID identifier.|
62
+
63
+ ### Get push ID identifier RegistrationID
64
+
65
+ > **Note:**
66
+ >
67
+ > 1. If you have called the `setRegistrationID` interface to set the identifier ID, this interface will return the identifier ID you set, otherwise, it will return a random value generated by the Push SDK.
68
+
69
+ #### API
70
+ ``` javascript
71
+ getRegistrationID(onSuccess)
72
+ ```
73
+
74
+ #### Parameter description:
75
+
76
+ |Parameters|Type|Description|
77
+ |---------|---------|---------|
78
+ |onSuccess|Function|Callback for successfully obtaining the push ID.|
79
+
80
+ ### Getting Push Extension Information
81
+
82
+ #### API
83
+ ``` javascript
84
+ getNotificationExtInfo(onSuccess)
85
+ ```
86
+
87
+ #### Parameter description:
88
+
89
+ |Parameters|Type|Description|
90
+ |---------|---------|---------|
91
+ |onSuccess|Function|Callback for successfully getting the clicked pass-through content.|
92
+
93
+ ### Adding a Push Listener
94
+
95
+ #### API
96
+ ``` javascript
97
+ addPushListener(eventName: string, listener: (data: any) => void);
98
+ ```
99
+
100
+ #### Parameter description:
101
+
102
+ |Parameters|Type|Description|
103
+ |---------|---------|---------|
104
+ |eventName|String|Push Event Type.|
105
+ |listener|Function|Push Event Handling Method.|
106
+
107
+ ### Removing a Push Listener
108
+
109
+ #### API
110
+ ``` javascript
111
+ removePushListener(eventName: string, listener?: (data: any) => void);
112
+ ```
113
+
114
+ #### Parameter description:
115
+
116
+ |Parameters|Type|Description|
117
+ |---------|---------|---------|
118
+ |eventName|String|Push Event Type.|
119
+ |listener|Function \| undefined|Push Event Handling Method.|
120
+
121
+ ### Turning On/Off Notification Bar Notifications When the App is in the Foreground
122
+
123
+ #### API
124
+ ``` javascript
125
+ disablePostNotificationInForeground(disable: boolean);
126
+ ```
127
+
128
+ #### Parameter description:
129
+ | Parameters | Type | Description |
130
+ | --- | --- | --- |
131
+ | disable | boolean | Turning On/Off Notification Bar Notifications When the App is in the Foreground, Default On:<br>- true: Turning off notification bar notifications when the app is in the foreground<br>- false: Turning on notification bar notifications when the app is in the foreground |
132
+
133
+ ### Creating a Client Notification Channel
134
+
135
+ #### API
136
+ ``` javascript
137
+ createNotificationChannel(options: any, listener: (data: any) => void);
138
+ ```
139
+
140
+ #### Parameter description:
141
+ | Parameters | Type | Description |
142
+ | --- | --- | --- |
143
+ | options.channelID | String | The ID of the custom channel.<br>OPPO: The channelID in <a href="https://console.trtc.io/chat/push-plugin-push-identifier">Console -> Access Configuration</a>. |
144
+ | options.channelName | String | The name of the custom channel. |
145
+ | options.channelDesc | String \\| undefined | The description of the custom channel. |
146
+ | options.channelSound | String \\| undefined | The alert tone of the custom channel, audio file name without suffix. The audio file needs to be placed in <code>xxx/nativeResources/android/res/raw</code>.<br>For example:<br><code>options.channelSound = private_ring</code>, which sets <code>xxx/nativeResources/android/res/raw/private_ring.mp3</code> as the custom alert tone. |
147
+ | listener | Function | Callback function for successful API invocation. |
@@ -0,0 +1,119 @@
1
+ PushManager
2
+
3
+ public class PushManager: Push Plugin Interface Class
4
+
5
+ ### API Overview
6
+
7
+ #### Register/Unregister Push Service API
8
+
9
+ |API|Description|
10
+ |---------|---------|
11
+ |RegisterPush|Register push service (The API must be called to use push service after obtaining user consent for the privacy policy).|
12
+ |UnRegisterPush|Disable push service.|
13
+ |SetRegistrationID|RegistrationID is the unique identifier of a push reception device. By default, it is automatically generated when push service registration succeeds. You can also customize settings. Based on the RegistrationID, you can push messages to specified devices. Notably, uninstalling and reinstalling the device will change the RegistrationID, so you need to call the setRegistrationID API before registering the push service.|
14
+ |GetRegistrationID|After successful push service registration, you can obtain the unique identifier ID of the push reception device, namely RegistrationID, by calling the getRegistrationID API. Based on the RegistrationID, you can push messages to specified devices.|
15
+
16
+ #### Push Global Listening Interface
17
+
18
+ |API|Description|
19
+ |---------|---------|
20
+ |AddPushListener|Add a Push Listener.|
21
+ |RemovePushListener|Remove a Push Listener.|
22
+
23
+ #### Custom Configuration API
24
+
25
+ |API|Description|
26
+ |---------|---------|
27
+ |ForceUseFCMPushChannel|Assign device offline push to use FCM channel, need to register push service before calling.|
28
+ |DisablePostNotificationInForeground|Disable pop-up notifications when the App is in the foreground.|
29
+
30
+ ### API Detail
31
+
32
+ #### Member Function Description
33
+
34
+ ##### abstract void RegisterPush(Context context, int sdkAppId, String appKey, PushCallback callback)
35
+
36
+ Register push service. Just transmit both sdkAppId and appKey to complete push service registration.
37
+
38
+ Parameter description:
39
+ | Parameter | Description | Access Path |
40
+ | --- | --- | --- |
41
+ | sdkAppId | The app ID assigned to you in the IM console. | |
42
+ | appKey | The client key assigned to you in the IM console. | |
43
+
44
+ ##### abstract void UnRegisterPush(PushCallback callback)
45
+
46
+ Unregister and disable push service.
47
+
48
+ ##### abstract void SetRegistrationID(String registrationID, PushCallback callback)
49
+
50
+ Set the push ID (RegistrationID) used for push service registration, which needs to be called before registering the push service.
51
+
52
+ Parameter description:
53
+
54
+ |Parameter|Description|
55
+ |---------|---------|
56
+ |registrationID|The push unique identifier ID of the device will change after uninstall reinstall.|
57
+
58
+ ##### abstract void GetRegistrationID(PushCallback callback)
59
+
60
+ After successful registration of push service, obtain the push ID (RegistrationID).
61
+
62
+ ##### abstract void AddPushListener(PushListener listener)
63
+
64
+ Add a Push Listener.
65
+
66
+ ##### abstract void RemovePushListener(PushListener listener)
67
+
68
+ Remove a Push Listener
69
+
70
+ ##### abstract void ForceUseFCMPushChannel(boolean enable)
71
+
72
+ Assign device offline push to use FCM channel, need to register push service before calling.
73
+
74
+ Parameter description:
75
+ | Parameter | Description |
76
+ | --- | --- |
77
+ | enable | - true: Use FCM channel.<br>- false: Use local machine channel. |
78
+
79
+ ##### abstract void DisablePostNotificationInForeground(boolean disable)
80
+
81
+ Disable the pop-up Notification bar when the App is in the foreground. When the Push SDK receives an online push, it automatically adds a Notification to the Notification bar. If you want to handle the online push message yourself, you can call this API to disable the automatic pop-up Notification bar feature.
82
+
83
+ Parameter description:
84
+ | Parameter | Description |
85
+ | --- | --- |
86
+ | disable | - true: It is disabled.<br>- false: enable |
87
+
88
+ ## PushListener
89
+
90
+ public class PushListener: Push Listener Class
91
+
92
+ ### API Overview
93
+
94
+ |API|Description|
95
+ |---------|---------|
96
+ |onRecvPushMessage|Received a Push message.|
97
+ |onRevokePushMessage|Received a Push message recall notification.|
98
+ |onNotificationClicked|Click the notification bar message Webhook.|
99
+
100
+ ### API Detail
101
+
102
+ #### Member Function Description
103
+
104
+ ##### void onRecvPushMessage(TIMPushMessage message)
105
+
106
+ Received a Push message. Received a message.
107
+
108
+ ##### void onRevokePushMessage(string messageID)
109
+
110
+ Received a Push message recall notification, messageID unique message identifier.
111
+
112
+ ##### void onNotificationClicked(String ext)
113
+
114
+ Click the notification bar message Webhook.
115
+
116
+ > **Note:**
117
+ >
118
+ > Configure the console Push Certificate to "open specified in-app page" and use the default populated value to take effect.
119
+ >
@@ -0,0 +1,123 @@
1
+ ## TIMPush - PushManager
2
+
3
+ PushManager: Push Plugin Interface class
4
+
5
+ ### API Overview
6
+
7
+ #### Register/Unregister Push Service API
8
+
9
+ |API|Description|
10
+ |---------|---------|
11
+ |RegisterPush|Register push service (this API must be called to use push service only after the App user consents to the privacy policy).|
12
+ |UnRegisterPush|Disable push service.|
13
+ |SetRegistrationID|RegistrationID is the unique identifier of the push reception device. By default, it is automatically generated when push service registration succeeds, and you can also customize settings. Based on RegistrationID, you can push messages to the specified device. Notably, Uninstall and reinstall the device will change RegistrationID, so you need to call the setRegistrationID API before registering push service.|
14
+ |GetRegistrationID|After successfully registering push service, you can obtain the unique identifier ID of the push reception device, namely RegistrationID, by calling the getRegistrationID API. Based on RegistrationID, you can push messages to the specified device.|
15
+
16
+ #### Global Listening Interface for Push
17
+
18
+ |API|Description|
19
+ |---------|---------|
20
+ |AddPushListener|Add a Push Listener.|
21
+ |RemovePushListener|Remove a Push Listener.|
22
+
23
+ #### Custom Configuration API
24
+
25
+ |API|Description|
26
+ |---------|---------|
27
+ |ForceUseFCMPushChannel|Specify device offline push to use FCM channel, need to register push service before calling.|
28
+ |DisablePostNotificationInForeground|Disable pop-up notifications when the App is in the foreground.|
29
+
30
+ ### API Detail
31
+
32
+ #### Static Public Member Function
33
+
34
+ static PushManager* GetInstance(): Get the PushManager manager instance.
35
+
36
+ #### Member Function Description
37
+
38
+ ##### virtual void RegisterPush(int sdkAppId, const FString& appKey, PushValueCallback<FString>* callback) = 0;
39
+
40
+ To register the push service, transmit both parameters sdkAppId and appKey, and just register the push service.
41
+
42
+ Parameter description:
43
+ | Parameter | Description | Access Path |
44
+ | --- | --- | --- |
45
+ | sdkAppId | The IM console assigned the app ID to you. | |
46
+ | appKey | The IM console assigned the client key to you. | |
47
+
48
+ ##### virtual void UnRegisterPush(PushCallback* callback) = 0;
49
+
50
+ Unregister and disable push service.
51
+
52
+ ##### virtual void SetRegistrationID(const FString& registrationID, PushCallback* callback) = 0;
53
+
54
+ Set the push ID flag used for push service registration, i.e., RegistrationID, which needs to be called before registering the push service.
55
+
56
+ Parameter description:
57
+
58
+ |Parameter|Description|
59
+ |---------|---------|
60
+ |registrationID|The push unique identifier ID of the device may change after uninstall reinstall.|
61
+
62
+ ##### virtual void GetRegistrationID(PushValueCallback<FString>* callback) = 0;
63
+
64
+ After successful registration of push service, obtain the push ID flag, i.e., RegistrationID.
65
+
66
+ ##### virtual void AddPushListener(PushListener* listener) = 0;
67
+
68
+ Add a Push Listener
69
+
70
+ ##### virtual void RemovePushListener(PushListener* listener) = 0;
71
+
72
+ Remove a Push Listener
73
+
74
+ ##### virtual void ForceUseFCMPushChannel(bool enable) = 0;
75
+
76
+ Specify device offline push to use FCM channel, need to register push service before calling.
77
+
78
+ Parameter description:
79
+ | Parameter | Description |
80
+ | --- | --- |
81
+ | enable | - true: Use the FCM channel.<br>- false: Use the local machine channel. |
82
+
83
+ ##### virtual void DisablePostNotificationInForeground(bool disable) = 0;
84
+
85
+ Disable pop-up notifications in the Notification bar when the App is in the foreground. When the Push SDK receives an online push, it automatically adds a Notification prompt to the Notification bar. If you want to handle online push messages yourself, you can call this API to disable the automatic pop-up Notification bar feature.
86
+
87
+ Parameter description:
88
+ | Parameter | Description |
89
+ | --- | --- |
90
+ | disable | - true: It is disabled.<br>- false: It is enabled. |
91
+
92
+ ## PushListener
93
+
94
+ PushListener: Push Listener class
95
+
96
+ ### API Overview
97
+
98
+ |API|Description|
99
+ |---------|---------|
100
+ |OnRecvPushMessage|Push message received.|
101
+ |OnRevokePushMessage|Push message recall notification received.|
102
+ |OnNotificationClicked|Click notification bar message Webhook.|
103
+
104
+ ### API Detail
105
+
106
+ #### Member Function Description
107
+
108
+ ##### virtual void OnRecvPushMessage(const PushMessage& message) {}
109
+
110
+ Push message received. Message received.
111
+
112
+ ##### virtual void OnRevokePushMessage(const FString& messageID) {}
113
+
114
+ Push message recall notification received. messageID: unique message identifier.
115
+
116
+ ##### virtual void OnNotificationClicked(const FString& ext) {}
117
+
118
+ Click notification bar message Webhook.
119
+
120
+ > **Note:**
121
+ >
122
+ > Note: Push Certificate in the console need to configure "open specified in-app page" and use populate by default to take effect.
123
+ >
@@ -17,7 +17,6 @@ Explanation of the **Subsequent Actions** option:
17
17
 
18
18
  > **Note:**
19
19
  >
20
-
21
20
  > Each vendor only supports the configuration of one certificate.
22
21
  >
23
22
 
@@ -68,13 +67,12 @@ For receipt configuration, please refer to: [Message Delivery Statistics Configu
68
67
 
69
68
  > **Note:**
70
69
  >
71
-
72
70
  > Regarding **Click for Subsequent Actions** supports the Report Statistics feature:
73
71
  >
74
- > 1. If you choose to open an app or a web page, purchasing the plugin will by default support reporting statistics.
75
- > 2. If you choose to open a specified interface within the application:
76
- > - For new certificate status, please directly use the auto-fill default value to support click statistics reporting.
77
- > - If there was a certificate configured previously, continue using the old certificate and modify it to the default value to support reporting statistics, or regenerate a new certificate.
72
+ > 1. If you choose to open an app or a web page, purchasing the plugin will by default support reporting statistics.
73
+ > 2. If you choose to open a specified interface within the application:
74
+ > - For new certificate status, please directly use the auto-fill default value to support click statistics reporting.
75
+ > - If there was a certificate configured previously, continue using the old certificate and modify it to the default value to support reporting statistics, or regenerate a new certificate.
78
76
 
79
77
  ### About FCM Data Messaging
80
78
 
@@ -87,6 +85,5 @@ FCM provides two push methods: Notification Message and Data Messaging.
87
85
 
88
86
  > **Note:**
89
87
  >
90
-
91
88
  > FCM data messaging capability only supports TIMPush version 7.8 and above on pixel phones. Other manufacturers' devices need to be tested for support.
92
89
  >
@@ -1,6 +1,5 @@
1
1
  > **Note:**
2
2
  >
3
-
4
3
  > Each vendor only supports the configuration of one certificate.
5
4
  >
6
5
 
@@ -22,7 +21,6 @@
22
21
 
23
22
  > **Note:**
24
23
  >
25
-
26
24
  > Certificate request file (CSR) need to be applied for in DevEco Studio. For details, see [generate certificate request file](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/ide-signing#section462703710326).
27
25
  >
28
26
 
@@ -38,7 +36,6 @@
38
36
 
39
37
  > **Note:**
40
38
  >
41
-
42
39
  > Note: For how to obtain UDID for different device types, please refer to [UDID Retrieval Method](https://developer.huawei.com/consumer/cn/doc/app/agc-help-add-device-0000001946142249#section67331926102911).
43
40
  >
44
41