anotherim/src/main/java/eu/siacs/conversations/entities/TransferablePlaceholder.java

35 lines
477 B
Java
Raw Normal View History

package eu.siacs.conversations.entities;
2015-07-10 13:11:03 +00:00
public class TransferablePlaceholder implements Transferable {
2021-01-23 08:25:34 +00:00
private final int status;
2015-07-10 13:11:03 +00:00
public TransferablePlaceholder(int status) {
this.status = status;
}
@Override
public boolean start() {
return false;
}
@Override
public int getStatus() {
return status;
}
@Override
public Long getFileSize() {
return null;
}
@Override
public int getProgress() {
return 0;
}
@Override
public void cancel() {
}
}