- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
59 lines
1.5 KiB
Java
59 lines
1.5 KiB
Java
package com.vungle.ads.internal.downloader;
|
|
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public interface Downloader {
|
|
void cancel(DownloadRequest downloadRequest);
|
|
|
|
void cancelAll();
|
|
|
|
void download(DownloadRequest downloadRequest, AssetDownloadListener assetDownloadListener);
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface NetworkType {
|
|
public static final Companion Companion = Companion.$$INSTANCE;
|
|
|
|
public static final class Companion {
|
|
static final /* synthetic */ Companion $$INSTANCE = new Companion();
|
|
private static int CELLULAR = 1;
|
|
private static int WIFI = 2;
|
|
private static int ANY = 1 | 2;
|
|
|
|
public final int getANY() {
|
|
return ANY;
|
|
}
|
|
|
|
public final int getCELLULAR() {
|
|
return CELLULAR;
|
|
}
|
|
|
|
public final int getWIFI() {
|
|
return WIFI;
|
|
}
|
|
|
|
public final void setANY(int i) {
|
|
ANY = i;
|
|
}
|
|
|
|
public final void setCELLULAR(int i) {
|
|
CELLULAR = i;
|
|
}
|
|
|
|
public final void setWIFI(int i) {
|
|
WIFI = i;
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
}
|
|
}
|
|
|
|
public static final class RequestException extends Exception {
|
|
public RequestException(String str) {
|
|
super(str);
|
|
}
|
|
}
|
|
}
|