NotificationPayload
Create notification payload from the received map.
Example:
public class FCMListenerService extends FirebaseMessagingService {
@Override
public void onMessageReceived(RemoteMessage remoteMessage) {
NotificationPayload payload = new NotificationPayload(remoteMessage.getData());
conversationsClient.handleNotification(payload);
// Do the processing here
}
}
Content copied to clipboard
Content copied to clipboard
Content copied to clipboard
Parameters
remoteMessage
Android FCM RemoteMessage with push notification data as received from the system.