framework/src/org/apache/cordova/AudioPlayer.java
/**
     * Seek or jump to a new time in the track.
     */
Seek or jump to a new time in the track.
Seek or jump to a new time in the track .
public void seekToPlaying(int milliseconds) {
        if (this.mPlayer != null) {
            this.mPlayer.seekTo(milliseconds);
            Log.d(LOG_TAG, "Send a onStatus update for the new seek");
            this.handler.sendJavascript("cordova.require('cordova/plugin/Media').onStatus('" + this.id + "', " + MEDIA_POSITION + ", " + milliseconds / 1000.0f + ");");
        }
    }
public void seekToPlaying ( int milliseconds ) { if ( this . mPlayer != null ) { this . mPlayer . seekTo ( milliseconds ) ; Log . d ( LOG_TAG , "Send a onStatus update for the new seek" ) ; this . handler . sendJavascript ( "cordova.require('cordova/plugin/Media').onStatus('" + this . id + "', " + MEDIA_POSITION + ", " + milliseconds / 1000.0f + ");" ) ; } }
Seek or jump to a new time in the track.
Seek or jump to a new time in the track .