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

19 lines
735 B
Java

package androidx.media3.datasource.cache;
import androidx.media3.datasource.DataSpec;
/* loaded from: classes2.dex */
public interface CacheKeyFactory {
public static final CacheKeyFactory DEFAULT = new CacheKeyFactory() { // from class: androidx.media3.datasource.cache.CacheKeyFactory$$ExternalSyntheticLambda0
@Override // androidx.media3.datasource.cache.CacheKeyFactory
public final String buildCacheKey(DataSpec dataSpec) {
return CacheKeyFactory.lambda$static$0(dataSpec);
}
};
String buildCacheKey(DataSpec dataSpec);
static /* synthetic */ String lambda$static$0(DataSpec dataSpec) {
return dataSpec.key != null ? dataSpec.key : dataSpec.uri.toString();
}
}