processMessage

open fun processMessage(context: Context, message: RemoteMessage): Future<Void>

Called to handle onMessageReceived. The task should be finished before `onMessageReceived(RemoteMessage message)` is complete. Wait for the message to be complete by calling `get()` on the future.

Return

A future.

Parameters

context

The application context.

message

The message.