@@ -505,6 +505,8 @@ public void getDataInBackground(GetDataCallback dataCallback) {
505
505
* Synchronously gets the file pointer from cache if available or fetches its content from the
506
506
* network. You probably want to use {@link #getFileInBackground()} instead unless you're already
507
507
* in a background thread.
508
+ * <strong>Note: </strong> The {@link File} location may change without notice and should not be
509
+ * stored to be accessed later.
508
510
*/
509
511
public File getFile () throws ParseException {
510
512
return ParseTaskUtils .wait (getFileInBackground ());
@@ -513,6 +515,8 @@ public File getFile() throws ParseException {
513
515
/**
514
516
* Asynchronously gets the file pointer from cache if available or fetches its content from the
515
517
* network. The {@code ProgressCallback} will be called periodically with progress updates.
518
+ * <strong>Note: </strong> The {@link File} location may change without notice and should not be
519
+ * stored to be accessed later.
516
520
*
517
521
* @param progressCallback
518
522
* A {@code ProgressCallback} that is called periodically with progress updates.
@@ -540,6 +544,8 @@ public Task<File> then(Task<File> task) throws Exception {
540
544
/**
541
545
* Asynchronously gets the file pointer from cache if available or fetches its content from the
542
546
* network.
547
+ * <strong>Note: </strong> The {@link File} location may change without notice and should not be
548
+ * stored to be accessed later.
543
549
*
544
550
* @return A Task that is resolved when the data has been fetched.
545
551
*/
@@ -553,6 +559,8 @@ public Task<File> getFileInBackground() {
553
559
* The {@code ProgressCallback} will be called periodically with progress updates.
554
560
* The {@code ProgressCallback} is guaranteed to be called with 100 before the
555
561
* {@code GetFileCallback} is called.
562
+ * <strong>Note: </strong> The {@link File} location may change without notice and should not be
563
+ * stored to be accessed later.
556
564
*
557
565
* @param fileCallback
558
566
* A {@code GetFileCallback} that is called when the get completes.
@@ -567,6 +575,8 @@ public void getFileInBackground(GetFileCallback fileCallback,
567
575
/**
568
576
* Asynchronously gets the file pointer from cache if available or fetches its content from the
569
577
* network. The {@code GetFileCallback} will be called when the get completes.
578
+ * <strong>Note: </strong> The {@link File} location may change without notice and should not be
579
+ * stored to be accessed later.
570
580
*
571
581
* @param fileCallback
572
582
* A {@code GetFileCallback} that is called when the get completes.
0 commit comments