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. |
| shared | Get the ZPNs instance. |
| setZPNsNotificationCenterDelegate: | Set the callback for ZPNs push event notifications. |
| setDeviceToken | Use this method to pass deviceToken into ZPNs and get PushID. |
| setVoipToken | |
| registerAPNs | This method is used to register vendor offline push. |
| unregisterAPNs | Call this method to de-register when offline push is not required. |
| addLocalNotificationWithContent:trigger:withCompletionHandler: | Add a local push notification. |
| addLocalNotificationRequest:withCompletionHandler: | Add a local push notification. |
| setBadge: | Reports the number of corners of the current App to the ZPNs server through this interface. |
| onRegistered | |
| ZPNsNotificationCenter:didReceiveNotificationResponse:userInfo:withCompletionHandler: | |
| ZPNsNotificationCenter:willPresentNotification:userInfo:withCompletionHandler: |
