EzStorage
Support: All platforms
⭐ Only Pro version has EzStorage
⭐ EzCloud comes with EzFilePicker for WebGL! (Check out the Demo)
using XG.EzCloud; //add this directive to import types from EzCloud namespace
🚩 Save data
Upload from memory
EzStorage.UploadFromMemory(storageLocation, data, callback, fallback, objectName);
📄 Playmaker reference
Upload from local file (Mobile and Desktop only)
EzStorage.UploadFromLocalFile(storageLocation, localFilePath, callback, fallback);
📄 Playmaker reference
Detele files
EzStorage.DeleteFile(storageLocation, data, callback, fallback, objectName);
📄 Playmaker reference
🚩 Load data
Download from a URL (all platforms)
EzStorage.DownloadFromUrl(storageLocation, callback, fallback, objectName);
📄 Playmaker reference
2. Download to memory (Mobile and Desktop only)
EzStorage.DownloadToByteArray(storageLocation, callback, fallback, objectName, maxAllowedSize);
📄 Playmaker reference
3. Download Stream (Mobile and Desktop only)
EzStorage.DownloadStream(storageLocation, callback);
📄 Playmaker reference (coming soon)
4. Download to local file (Mobile and Desktop only)
EzStorage.DownloadStream(storageLocation, callback, fallback);
📄 Playmaker reference
🚩 Metadata
Get metadata
EzStorage.GetMetadata(storageLocation, callback, fallback, objectName);
var result = EzStorage.GetMetadata(storageLocation, fallback);
📄 Playmaker reference
Update metadata
EzStorage.UpdateMetadata(storageLocation, metadataChange, callback, fallback, objectName);
📄 Playmaker reference