messageToBundle

open fun messageToBundle(remoteMessage: RemoteMessage): Bundle

Converts a Firebase Cloud Messaging RemoteMessage to an Android Bundle.

Use this utility method when you need to pass message data to other Android components or implement custom message processing logic.

Return

Bundle containing all data from the remote message

Parameters

remoteMessage

Firebase Cloud Messaging remote message to convert

See also