mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-12 04:05:03 -05:00
40 lines
527 B
Java
40 lines
527 B
Java
package eu.siacs.conversations.entities;
|
|
|
|
public class DownloadablePlaceholder implements Downloadable {
|
|
|
|
private int status;
|
|
|
|
public DownloadablePlaceholder(int status) {
|
|
this.status = status;
|
|
}
|
|
@Override
|
|
public boolean start() {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public int getStatus() {
|
|
return status;
|
|
}
|
|
|
|
@Override
|
|
public long getFileSize() {
|
|
return 0;
|
|
}
|
|
|
|
@Override
|
|
public int getProgress() {
|
|
return 0;
|
|
}
|
|
|
|
@Override
|
|
public String getMimeType() {
|
|
return "";
|
|
}
|
|
|
|
@Override
|
|
public void cancel() {
|
|
|
|
}
|
|
}
|