Skip to content

Commit fc3a63f

Browse files
committed
Update Javadoc for getRelatedStreams()
1 parent ff560e9 commit fc3a63f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/stream/StreamExtractor.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,9 @@ public StreamExtractor(StreamingService service, LinkHandler linkHandler) {
313313
/**
314314
* Should return a list of streams related to the current handled. Many services show suggested
315315
* streams. If you don't like suggested streams you should implement them anyway since they can
316-
* be disabled by the user later in the frontend.
317-
* If it is not available simply return null
316+
* be disabled by the user later in the frontend. The first related stream might be what was
317+
* previously known as a next stream.
318+
* If related streams aren't available simply return {@code null}.
318319
*
319320
* @return a list of InfoItems showing the related videos/streams
320321
* @throws IOException
@@ -326,11 +327,10 @@ public StreamExtractor(StreamingService service, LinkHandler linkHandler) {
326327
* Should return a list of Frameset object that contains preview of stream frames
327328
*
328329
* @return list of preview frames or empty list if frames preview is not supported or not found for specified stream
329-
* @throws IOException
330330
* @throws ExtractionException
331331
*/
332332
@Nonnull
333-
public List<Frameset> getFrames() throws IOException, ExtractionException {
333+
public List<Frameset> getFrames() throws ExtractionException {
334334
return Collections.emptyList();
335335
}
336336

0 commit comments

Comments
 (0)