handleHmsRemoteMessageData

fun handleHmsRemoteMessageData(context: Context, hmsRemoteMessageData: Map<String, String>?): Boolean

Consumes an incoming data payload via Huawei if it originated from Braze. If the data payload did not originate from Braze, then this method does nothing and returns false.

Return

true iff the Huawei data payload originated from Braze and was consumed. Returns false if the data payload did not originate from Braze or otherwise could not be forwarded or processed.

Parameters

context

Application context

hmsRemoteMessageData

The data payload map.