File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/local/playlist Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments