2014-11-15 13:40:43 +00:00
|
|
|
package eu.siacs.conversations.entities;
|
|
|
|
|
2015-07-10 13:11:03 +00:00
|
|
|
public class TransferablePlaceholder implements Transferable {
|
2014-11-15 13:40:43 +00:00
|
|
|
|
2021-01-23 08:25:34 +00:00
|
|
|
private final int status;
|
2014-11-15 13:40:43 +00:00
|
|
|
|
2015-07-10 13:11:03 +00:00
|
|
|
public TransferablePlaceholder(int status) {
|
2014-11-15 13:40:43 +00:00
|
|
|
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 void cancel() {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|