protected override async void OnHandleWork(Intent workIntent) { if (workIntent.Action == ExposureNotificationCallbackBroadcastReceiver.ActionExposureStateUpdated) { var summary = await ExposureNotification.AndroidGetExposureSummary(); if (summary != null && summary.MatchedKeyCount > 0) { // Invoke the custom implementation handler code with the summary info await ExposureNotification.Handler.ExposureDetected( summary, () => ExposureNotification.GetExposureInformationAsync()); } } else if (workIntent.Action == ExposureNotificationCallbackBroadcastReceiver.ActionRequestDiagnosisKeys) { // Go fetch latest keys from server await ExposureNotification.UpdateKeysFromServer(); } }