library/src/main/java/com/devbrackets/android/exomedia/core/audio/NativeMediaPlayer.java
@Override
    public boolean restart() {
        if(!listenerMux.isPrepared()) {
            return false;
        }

        super.seekTo(0);
        super.start();

        listenerMux.setNotifiedCompleted(false);

        return true;
    }
/**
     * If the media has completed playback, calling {@code restart} will seek to the beginning of the media, and play it.
     *
     * @return {@code true} if the media was successfully restarted, otherwise {@code false}
     */
If the media has completed playback, calling  restart will seek to the beginning of the media, and play it.
@return  true if the media was successfully restarted, otherwise  false
If the media has completed playback calling restart will seek to the beginning of the media and play it . @return true if the media was successfully restarted otherwise false
@Override
    public boolean restart() {
        if(!listenerMux.isPrepared()) {
            return false;
        }
        super.seekTo(0);
        super.start();
        listenerMux.setNotifiedCompleted(false);
        return true;
    }
@ Override public boolean restart ( ) { if ( ! listenerMux . isPrepared ( ) ) { return false ; } super . seekTo ( 0 ) ; super . start ( ) ; listenerMux . setNotifiedCompleted ( false ) ; return true ; }
If the media has completed playback, calling {@code restart} will seek to the beginning of the media, and play it.
If the media has completed playback calling { @code restart } will seek to the beginning of the media and play it .