processMessageSync

fun processMessageSync(context: Context, message: RemoteMessage)(source)

Called to handle com.huawei.hms.push.HmsMessageService.onMessageReceived} synchronously.

Call from a background thread. On the main thread the message is processed asynchronously and this method returns before processing completes.

Parameters

context

The application context.

message

The message.