package androidx.media3.exoplayer.offline;

import androidx.media3.common.util.UnstableApi;
import defpackage.dva;
import java.io.IOException;

/* JADX INFO: loaded from: classes.dex */
@dva
@UnstableApi
public interface WritableDownloadIndex extends DownloadIndex {
    void putDownload(Download download) throws IOException;

    void removeDownload(String str) throws IOException;

    void setDownloadingStatesToQueued() throws IOException;

    void setStatesToRemoving() throws IOException;

    void setStopReason(int i) throws IOException;

    void setStopReason(String str, int i) throws IOException;
}
