Rate this page:

MessengerPushNotificationProcessing

This API is in beta and subject to change.

Helper to process incoming Voximplant messenger push notifications.

Note that this interface does not serve VoIP push notifications.

The interface serves notifications of the MessengerNotification types; use the Messenger.managePushNotifications method to subscribe to notifications.

Methods

processPushNotification

Copy URL
fun processPushNotification(notification: 

Map<String, String>

):

MessengerEvent

This API is in beta and subject to change.

Processes an incoming Voximplant messenger push notification and return the appropriate messenger event object (MessageEvent) extended from MessengerEvent.

Parameters

  • notification:

    Map<String, String>

    Payload data of an incoming push notification that comes from FirebaseMessagingService.onMessageReceived(RemoteMessage remoteMessage) in case of editing or sending messages

Returns