private async TaskIn this code example, we are using FirebaseStorage to download a file from a URL specified by the Uri. We initiate the download using the GetBytesAsync method, which returns a TaskDownloadFile(Uri uri) { FirebaseStorage storage = FirebaseStorage.Instance; StorageReference storageRef = storage.GetReferenceFromUrl(uri.OriginalString); Task downloadTask = storageRef.GetBytesAsync(); string result = await downloadTask.AddOnSuccessListener(new OnSuccessListener(this)); return result; } public class OnSuccessListener : Java.Lang.Object, IOnSuccessListener { private readonly MyClass _myClass; public OnSuccessListener(MyClass myClass) { _myClass = myClass; } public void OnSuccess(byte[] bytes) { _myClass.HandleDownload(bytes); } }