Skip to content

Commit 3c7b026

Browse files
committed
[#11930] Updating javadoc
1 parent 998d84d commit 3c7b026

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

app/src/main/java/org/schabi/newpipe/local/playlist/LocalPlaylistFragment.java

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -388,16 +388,15 @@ public boolean onOptionsItemSelected(final MenuItem item) {
388388
return true;
389389
}
390390

391-
/**
392-
* FIXME update this
393-
*
394-
* Shares the playlist as a list of stream URLs if {@code shareMode} is
395-
* set to {@code false}. Shares the playlist name along with a list of video titles and URLs
396-
* if {@code shareMode} is set to {@code true}.
397-
*
398-
* @param shareMode Whether the playlist details should be included in the
399-
* shared content.
400-
*/
391+
///
392+
/// Shares the playlist in one of 3 ways, depending on the value of `shareMode`:
393+
///
394+
/// - `JUST_URLS`: shares the URLs only.
395+
/// - `WITH_TITLES`: each entry in the list is accompanied by its title.
396+
/// - `YOUTUBE_TEMP_PLAYLIST`: shares as a YouTube temporary playlist.
397+
///
398+
/// @param shareMode The way the playlist should be shared.
399+
///
401400
private void sharePlaylist(final PlayListShareMode shareMode) {
402401
final Context context = requireContext();
403402

0 commit comments

Comments
 (0)