Notification.handle()

This API is used to process data received via push notification.

Refer to this documentation for setting up push notifications.

Syntax:

CopiedZohoSalesIQ.Notification.handle(Context context, Map data);

Example:

Copiedpublic class PushNotificationService extends FirebaseMessagingService {
 @Override
 public void onMessageReceived(RemoteMessage message) {
  Map extras = message.getData();
  ZohoSalesIQ.Notification.handle(this.getApplicationContext(), extras);
  }
}