Rabbit-R1/android (non root)/java/sources/com/google/android/exoplayer2/upstream/DataSource.java
2024-05-21 17:08:36 -04:00

28 lines
657 B
Java

package com.google.android.exoplayer2.upstream;
import android.net.Uri;
import java.io.IOException;
import java.util.Collections;
import java.util.List;
import java.util.Map;
/* loaded from: classes2.dex */
public interface DataSource extends DataReader {
/* loaded from: classes2.dex */
public interface Factory {
DataSource createDataSource();
}
void addTransferListener(TransferListener transferListener);
void close() throws IOException;
Uri getUri();
long open(DataSpec dataSpec) throws IOException;
default Map<String, List<String>> getResponseHeaders() {
return Collections.emptyMap();
}
}