Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.datasync / DataEvent / build

build

fun build(msgData: Map<String, String>): DataEvent

Builds a DataEvent instance from the data conveyed by a received remote Firebase Message.

The passed msgData is provided by the data property (Kotlin) or getData() accessor (Java) of the Firebase RemoteMessage object.