Skip to content

Commit c5fc371

Browse files
committed
Update JavaDoc of VideoPlaybackResolver.getStreamSourceType()
1 parent 8932adb commit c5fc371

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

app/src/main/java/org/schabi/newpipe/player/resolver/VideoPlaybackResolver.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,10 @@ public MediaSource resolve(@NonNull final StreamInfo info) {
131131
}
132132

133133
/**
134-
* Determine if the last resolved {@link StreamInfo} had separated audio and video streams (or
135-
* only audio).
134+
* Returns the last resolved {@link StreamInfo}'s {@link SourceType source type}.
136135
*
137-
* @return {@link Optional#empty()} if nothing was resolved, otherwise {@code true} or
138-
* {@code false}
136+
* @return {@link Optional#empty()} if nothing was resolved, otherwise the {@link SourceType}
137+
* of the last resolved {@link StreamInfo} inside an {@link Optional}
139138
*/
140139
public Optional<SourceType> getStreamSourceType() {
141140
return Optional.ofNullable(streamSourceType);

0 commit comments

Comments
 (0)