using System.Runtime.InteropServices;
namespace FirebaseWebGL.Scripts.FirebaseBridge
{
public static class FirebaseStorage
{
///
/// Downloads a byte array from storage
///
/// Storage path
/// Name of the gameobject to call the callback/fallback of
/// Name of the method to call when the operation was successful. Method must have signature: void Method(string output). Will return a base 64 encoded string
/// Name of the method to call when the operation was unsuccessful. Method must have signature: void Method(string output). Will return a serialized FirebaseError object
[DllImport("__Internal")]
public static extern void DownloadFile(string path, string objectName, string callback, string fallback);
}
}