make From Push Notification
Content copied to clipboard
Builds a Notification<PushNotificationEvent> instance from the data conveyed by a received Firebase RemoteMessage or a Huawei RemoteMessage.
The passed msgData is provided either by:
the
data
property (Kotlin) orgetData()
accessor (Java) of the FirebaseRemoteMessage
object.or the
getDataOfMap()
accessor of theRemoteMessage
object of the HMS Push Kit API.