processMessage

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

Called to handle com.huawei.hms.push.HmsMessageService.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.