Companion

object Companion

Provides the static method to build PushNotificationEvent instances from low-level mobile push notification data.

Functions

Link copied to clipboard
fun isWebcomPushNotification(msgData: Map<String, String>): Boolean

Checks if the received notification is originating from webcom

Link copied to clipboard
fun makeFromMessageData(msgData: Map<String, String>): Notification<PushNotificationEvent>?

Builds a Notification<PushNotificationEvent> instance from the data conveyed by a received Firebase RemoteMessage or a Huawei RemoteMessage.

Link copied to clipboard
fun makeFromPushNotification(msgData: Map<String, String>): Notification<PushNotificationEvent>

Builds a Notification<PushNotificationEvent> instance from the data conveyed by a received Firebase RemoteMessage or a Huawei RemoteMessage.