Exemple #1
0
 private void SetupENClient(ExposureNotificationClient client)
 {
     client.Init(this);
     client.ExposureDetectedV1JobSetting  = _exposureDetectedV1JobSetting;
     client.ExposureDetectedV2JobSetting  = _exposureDetectedV2JobSetting;
     client.ExposureNotDetectedJobSetting = _exposureNotDetectedJobSetting;
 }
Exemple #2
0
        public AbsExposureNotificationClient GetEnClient()
        {
            if (EnClient == null)
            {
                EnClient = new ExposureNotificationClient()
                {
                    ExposureDetectedV1JobSetting  = _exposureDetectedV1JobSetting,
                    ExposureDetectedV2JobSetting  = _exposureDetectedV2JobSetting,
                    ExposureNotDetectedJobSetting = _exposureNotDetectedJobSetting
                };
                EnClient.Init(this);
            }

            return(EnClient);
        }
 public void Init(Context applicationContext)
 {
     Client.Init(applicationContext);
 }