-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deleteing files now complies with api v2.1
- Loading branch information
Tom Raybould
committed
Mar 12, 2019
1 parent
636aeec
commit 634f99e
Showing
2 changed files
with
67 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
app/src/main/java/com/theta360/pluginapplication/network/HttpDeleteFileListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.theta360.pluginapplication.network; | ||
|
||
import java.util.ArrayList; | ||
|
||
public interface HttpDeleteFileListener { | ||
|
||
/** | ||
* Notifies you of the device status check results | ||
* @param newStatus true:Update available, false;No update available | ||
*/ | ||
void onCheckStatus(boolean newStatus); | ||
|
||
/** | ||
* Notifies you when the files are deleted | ||
* @param deletedImages Urls of images that were deleted | ||
* */ | ||
void onObjectChanged(ArrayList<String> deletedImages); | ||
|
||
/** | ||
* Notify on completion of event | ||
*/ | ||
void onCompleted(); | ||
|
||
/** | ||
* Notify in the event of an error | ||
*/ | ||
void onError(String errorMessage); | ||
|
||
} |