コード例 #1
0
        public void ListAlbumContent()
        {
            ListMediaItemResponse mediaItemResponse = this.googlePhotosClient.ListAlbumContents();

            foreach (MediaItems photo in mediaItemResponse.MediaItems)
            {
                MediaItems allPhotos = googlePhotosClient.GetAlbumContent(photo.Id);
                allGPhotos = photo.productUrl;
                break;
            }
        }
コード例 #2
0
        public void ListAlbumContent()
        {
            ListMediaItemResponse mediaItemResponse = this.googlePhotosClient.ListAlbumContents();

            foreach (MediaItems photo in mediaItemResponse.MediaItems)
            {
                MediaItems allPhotos = this.googlePhotosClient.GetAlbumContent(photo.Id);
                //gPhotos.Add(allPhotos.productUrl);
                gPhotos = allPhotos.BaseUrl;
                allGPhotos.Add(gPhotos);
                Program.PhotoDetails.allGPhotos = allGPhotos;
            }
        }