Ejemplo n.º 1
0
        public static async Task <string> DownloadPlayerAvatar(string player, string filePhoto)
        {
            var task = new FirebaseStorage(bucketStorage)
                       .Child("players")
                       .Child(player)
                       .Child(System.IO.Path.GetFileName(filePhoto));

            return(await task.GetDownloadUrlAsync());
        }
Ejemplo n.º 2
0
        private async Task <string> DownloadTask(string fileName)
        {
            var task = new FirebaseStorage("jamcloud-db-2aea9.appspot.com")
                       .Child("jamcloud_audio")
                       .Child(user.GetCurrentUser().Username)
                       .Child(fileName);

            return(await task.GetDownloadUrlAsync());
        }