mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Document error handling in the Extractor interface
PiperOrigin-RevId: 276660235
This commit is contained in:
parent
fc12457c7e
commit
620b9110bf
1 changed files with 4 additions and 0 deletions
|
|
@ -89,6 +89,10 @@ public interface Extractor {
|
|||
* {@link #RESULT_SEEK} is returned. If the extractor reached the end of the data provided by the
|
||||
* {@link ExtractorInput}, then {@link #RESULT_END_OF_INPUT} is returned.
|
||||
*
|
||||
* <p>When this method throws an {@link IOException} or an {@link InterruptedException},
|
||||
* extraction may continue by providing an {@link ExtractorInput} with an unchanged {@link
|
||||
* ExtractorInput#getPosition() read position} to a subsequent call to this method.
|
||||
*
|
||||
* @param input The {@link ExtractorInput} from which data should be read.
|
||||
* @param seekPosition If {@link #RESULT_SEEK} is returned, this holder is updated to hold the
|
||||
* position of the required data.
|
||||
|
|
|
|||
Loading…
Reference in a new issue