handleBrazeRemoteMessage

fun handleBrazeRemoteMessage(context: Context, remoteMessage: RemoteMessage): Boolean

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

Return

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

Parameters

remoteMessage

The RemoteMessage from Firebase.