Last active
December 25, 2015 07:08
-
-
Save jeremiemartinez/6936644 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AudioPlayer { | |
private final AudioManager am; | |
private MediaPlayer mediaPlayer; | |
public AudioPlayer(AudioManager audioManager) { | |
this.am = audioManager; | |
mediaPlayer = new MediaPlayer(); | |
} | |
public void load(int position) { | |
} | |
public void play() { | |
} | |
public void pause() { | |
} | |
public boolean next() { | |
} | |
public boolean previous() { | |
} | |
public void stop() { | |
} | |
public boolean isPlaying() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment