mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix javadoc in CacheKeyFactory.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199110920
This commit is contained in:
parent
007d3c61bd
commit
8e4e5fe0cc
1 changed files with 3 additions and 4 deletions
|
|
@ -15,16 +15,15 @@
|
||||||
*/
|
*/
|
||||||
package com.google.android.exoplayer2.upstream.cache;
|
package com.google.android.exoplayer2.upstream.cache;
|
||||||
|
|
||||||
import android.net.Uri;
|
|
||||||
import com.google.android.exoplayer2.upstream.DataSpec;
|
import com.google.android.exoplayer2.upstream.DataSpec;
|
||||||
|
|
||||||
/** Factory for custom cache keys. */
|
/** Factory for cache keys. */
|
||||||
public interface CacheKeyFactory {
|
public interface CacheKeyFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a custom cache key for the given {@link Uri}.
|
* Returns a cache key for the given {@link DataSpec}.
|
||||||
*
|
*
|
||||||
* @param dataSpec The upstream source from which data will be read and cached.
|
* @param dataSpec The data being cached.
|
||||||
*/
|
*/
|
||||||
String buildCacheKey(DataSpec dataSpec);
|
String buildCacheKey(DataSpec dataSpec);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue