Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8105836

Misleading description of MediaPlayer.onRepeat and onEndOfMedia

    XMLWordPrintable

    Details

      Description

      Presently both functions are described as: "Invoked when the player reaches the end of media".

      These functions are not exactly the same. This description doesn't give a user enough information to use these attributes.

      onEndOfMedia is invoked once after completion of all repeating playbacks of media (see repeatCount), onRepeat is invoked for every repeating playbacks after 1st one.

        Attachments

          Activity

            People

            Assignee:
            ddehaven David Dehaven (Inactive)
            Reporter:
            dkuzmin Dmitry Kuzmin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: