Function Overview
2026-06-24
The ZEGOCLOUD In-app Chat SDK has network nodes comprehensively covering key regions worldwide, providing rich APIs to offer developers cross-platform interactive, high-concurrency, ultra-low-latency, guaranteed-message-delivery communication services, helping to build scenarios such as large-scale live streaming and audio chat rooms.
Error code returned by the API. For details, refer to https://www.zegocloud.com/docs/article/11606.
Offline Push Features (requires separate integration)
| Method | Description |
|---|---|
| updateUserBadge | Updates the iOS offline notification badge count. |
| enableDebug | Enables or disables debug mode |
| getInstance | Gets the ZPNs instance. |
| getPushConfig | Gets the PushConfig configuration class. |
| getZPNsMessage | When the user clicks the notification bar to navigate to an activity, payload and other information can be obtained through this interface. |
| registerPush | This method is used to register for vendor offline push. |
| setPushConfig | Sets the push configuration for each vendor. |
| unregisterPush | When offline push is no longer needed, this method can be called to unregister. |
| onNotificationArrived | Vendor notification display callback. |
| onNotificationClicked | Vendor notification click callback. |
| onRegistered | Callback triggered after generating the PushID. |
| onThroughMessageReceived | Vendor transparent message callback. |
