Agora Java API Reference for Android
|
Public Member Functions | |
int | open (String assetFilePath) |
long | getFileSize () |
long | seek (long pos) |
void | closeFile () |
int | read (ByteBuffer readByteBuffer) |
long | getCurrentPosition () |
Static Public Attributes | |
static final String | PREFIX_ASSETS = "/assets/" |
int io.agora.mediaplayer.AssetsFileReader.read | ( | ByteBuffer | readByteBuffer | ) |
Read file content to ByteBuffer
readByteBuffer | The buffer into which bytes are to be transferred |