mirror of
https://github.com/zhigang1992/AndroidVideoCache.git
synced 2026-02-09 08:42:36 +08:00
🎉 VideoCache 1.0 released
This commit is contained in:
17
library/src/main/java/com/danikula/videocache/Source.java
Normal file
17
library/src/main/java/com/danikula/videocache/Source.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.danikula.videocache;
|
||||
|
||||
/**
|
||||
* Source for proxy.
|
||||
*
|
||||
* @author Alexey Danilov (danikula@gmail.com).
|
||||
*/
|
||||
public interface Source {
|
||||
|
||||
int available() throws ProxyCacheException;
|
||||
|
||||
void open(int offset) throws ProxyCacheException;
|
||||
|
||||
void close() throws ProxyCacheException;
|
||||
|
||||
int read(byte[] buffer) throws ProxyCacheException;
|
||||
}
|
||||
Reference in New Issue
Block a user