Rabbit-R1/android (non root)/java/sources/androidx/media3/datasource/DataSource.java
2024-05-21 17:08:36 -04:00

29 lines
687 B
Java

package androidx.media3.datasource;
import android.net.Uri;
import androidx.media3.common.DataReader;
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();
}
}