Skip to content

Commit ecb8ad8

Browse files
committed
Update comments
1 parent b55c05d commit ecb8ad8

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ public Frameset(List<String> urls, int frameWidth, int frameHeight, int totalCou
2222
this.framesPerPageY = framesPerPageY;
2323
}
2424

25+
/**
26+
* @return list of urls to images with frames
27+
*/
2528
public List<String> getUrls() {
2629
return urls;
2730
}

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,10 @@ public StreamExtractor(StreamingService service, LinkHandler linkHandler, Locali
259259
public abstract StreamInfoItemsCollector getRelatedStreams() throws IOException, ExtractionException;
260260

261261
/**
262-
* Should return a list of frames
263-
* @return
262+
* Should return a list of Frameset object that contains preview of stream frames
263+
* @return list of preview frames or empty list if frames preview is not supported or not found for specified stream
264+
* @throws IOException
265+
* @throws ExtractionException
264266
*/
265267
@Nonnull
266268
public List<Frameset> getFrames() throws IOException, ExtractionException {

0 commit comments

Comments
 (0)