public interface CallbackURLProtocolHandler
Modifier and Type | Field and Description |
---|---|
static int |
SEEK_CUR |
static int |
SEEK_END |
static int |
SEEK_SET |
Modifier and Type | Method and Description |
---|---|
int |
close(AVFormatLibrary.URLContext h) |
int |
open(AVFormatLibrary.URLContext h,
java.lang.String filename,
int flags)
Flags may be a combination of: AVFormatLibrary.URL_RDONLY, AVFormatLibrary.URL_WRONLY, AVFormatLibrary.URL_RDWR.
|
int |
read(AVFormatLibrary.URLContext h,
com.sun.jna.Pointer buf,
int size) |
long |
seek(AVFormatLibrary.URLContext h,
long pos,
int whence)
Implementations need to be very careful about returning -1.
|
int |
write(AVFormatLibrary.URLContext h,
com.sun.jna.Pointer buf,
int size) |
static final int SEEK_SET
static final int SEEK_CUR
static final int SEEK_END
int open(AVFormatLibrary.URLContext h, java.lang.String filename, int flags)
int read(AVFormatLibrary.URLContext h, com.sun.jna.Pointer buf, int size)
int write(AVFormatLibrary.URLContext h, com.sun.jna.Pointer buf, int size)
long seek(AVFormatLibrary.URLContext h, long pos, int whence)
int close(AVFormatLibrary.URLContext h)