Ejemplo n.º 1
0
 public override async Task <IList <ExposureNotificationStatus> > GetStatusesAsync()
 {
     try
     {
         return(await Client.GetStatusesAsync());
     }
     catch (ApiException apiException)
     {
         throw new AndroidGooglePlayServicesApiException(
                   apiException.StatusCode,
                   apiException.Message
                   );
     }
 }
Ejemplo n.º 2
0
 public override Task <IList <ExposureNotificationStatus> > GetStatusesAsync()
 => _exposureNotificationClient.GetStatusesAsync();
 public override async Task <IList <ExposureNotificationStatus> > GetStatusesAsync()
 {
     return(await Client.GetStatusesAsync());
 }