Function Overview
2026-07-06
ZEGO ZIM SDKs provide rich APIs for you to quickly build in app chat capabilities into your applications.
ZEGO ZIM SDKs are available for all major platforms, including Android, iOS, Mac, Windows, and Web.
Zpns
| Method | Description |
|---|---|
| getVersion | Gets the SDK's version number. |
| setPushConfig | Set push Settings for each vendor. |
| getInstance | Get the ZPNs instance. |
| setBackgroundMessageHandler | After the android app is killed, receive offline silent push notifications. |
| enableDebug | Whether to enable debug mode. |
| registerPush | This method is used to register vendor offline push. |
| unregisterPush | Call this method to de-register when offline push is not required. |
| applyNotificationPermission | Apply for push notification permission from the system |
| createNotificationChannel | On Android platform, create a notification channel. |
| addLocalNotification | Add a local push notification. |
| setLocalBadge | Set the number of app local badge markers. |
| setServerBadge | Reports the number of corners of the current App to the ZPNs server through this interface. |
| onRegistered | |
| onNotificationClicked | |
| onNotificationArrived | |
| onThroughMessageReceived |
