Interface Music.OnCompletionListener

  • Enclosing interface:
    Music

    public static interface Music.OnCompletionListener
    Interface definition for a callback to be invoked when playback of a music stream has completed.
    • Method Detail

      • onCompletion

        void onCompletion​(Music music)
        Called when the end of a media source is reached during playback.
        Parameters:
        music - the Music that reached the end of the file