List of usage examples for org.apache.cordova AudioPlayer seekToPlaying
public void seekToPlaying(int milliseconds)
From source file:com.candygram.media.AudioHandler.java
License:Apache License
/** * Seek to a location.//from w w w . j a v a2 s. co m * @param id The id of the audio player * @param milliseconds int: number of milliseconds to skip 1000 = 1 second */ public void seekToAudio(String id, int milliseconds) { AudioPlayer audio = this.players.get(id); if (audio != null) { audio.seekToPlaying(milliseconds); } }