Skip to content

Instantly share code, notes, and snippets.

@jeremiemartinez
Last active December 25, 2015 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremiemartinez/6936644 to your computer and use it in GitHub Desktop.
Save jeremiemartinez/6936644 to your computer and use it in GitHub Desktop.
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