IEnumerator FileDelete() { JCloudDocumentOperation operation = JCloudDocument.FileDelete("testfile.txt"); while (!operation.finished) { yield return(null); } if (operation.success && (bool)operation.result) { documentResultString = "cloud document did delete" + (operation.error != null ? (" ; error : " + operation.error) : ""); } else { documentResultString = "cloud document did not delete (may not exist?)" + (operation.error != null ? (" ; error : " + operation.error) : ""); } }
private IEnumerator DeleteFromCloud() { JCloudDocument.FileDelete(FILE_NAME_CLOUD); yield break; }