public static async Task <Android.Gms.Location.Places.PlacePhotoResult> GetScaledPhotoAsync(this IPlacePhotoMetadata api, GoogleApiClient client, int width, int height)
 {
     return((await api.GetScaledPhoto(client, width, height)).JavaCast <PlacePhotoResult> ());
 }
Пример #2
0
 public virtual Task <PlacePhotoResponse> GetPhotoAsync(IPlacePhotoMetadata photoMetadata)
 {
     return(GetPhoto(photoMetadata).AsAsync <PlacePhotoResponse>());
 }
 public static async Task <Android.Gms.Location.Places.PlacePhotoResult> GetPhotoAsync(this IPlacePhotoMetadata api, GoogleApiClient client)
 {
     return((await api.GetPhoto(client)).JavaCast <Android.Gms.Location.Places.PlacePhotoResult> ());
 }
Пример #4
0
 public virtual Task <PlacePhotoResponse> GetScaledPhotoAsync(IPlacePhotoMetadata photoMetadata, int width, int height)
 {
     return(GetScaledPhoto(photoMetadata, width, height).AsAsync <PlacePhotoResponse>());
 }